> --
> You received this message because you are subscribed to the Google
> Groups "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/W1oPUxdOstcJ.
> To post to this group, send email to
> google-map...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-a...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
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.