On 12 January 2012 10:29, [email protected] <[email protected]> wrote: > On Jan 11, 10:08 pm, joe lau <[email protected]> wrote: >> thanks for your help. >> I want to ask more detail that, if I include the Google Maps JavaScript API >> inside the page. >> And I have a map icon that onclick to call the map initialize function. >> >> If i not click on the icon, it will not count any map load. >> Until I click on the icon, it will count one? > > http://code.google.com/apis/maps/faq.html#usage_mapload > > But I think at one point it was counting rhe load of the API as > displaying a map; but perhaps one of the google engineers can confirm > which it is (and maybe that has been fixed).
I would suggest that if you don't want a map displayed initially (and may never want one, if the user doesn't click the button), you don't load the API. Load the API using the AJAX loader when the user clicks the button. That way it doesn't matter how it's counted: it can't be counted if you haven't loaded it. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
