Hi,

I agree about the terms not being crystal clear. There seems to be
slightly conflicting information about what is a "map load".

The terms of use suggest
"the Maps JavaScript API (V2 or V3) is loaded by a web page or
application"

To me it means a 'map load' will count if I use this call (for
example) to load the API.

===================
google.load('maps', '3', {other_params: 'sensor=false',callback:
initMap });
===================

or by referencing the map API from a script tag on the page.

Meaning that once the API is loaded I can create many maps on the one
page (e.g. either having multiple maps present, or maps that are
created and destroyed in ajax panels) i.e. "new google.maps.Map()"
shouldn't count as a 'map load' but rather the loading of the API
itself.

But what is confusing is that a styled map has different usage limits,
but uses the same api. Which to me suggests that the "map load" has to
be counted from some other point. Here is a subset of the code for a
styled map from the google api style help page
http://code.google.com/apis/maps/documentation/javascript/styling.html#creating_a_styledMapType

===============
var map = new
google.maps.Map(document.getElementById('map_canvas'),mapOptions);
//Associate the styled map with the MapTypeId and set it to display.
map.mapTypes.set('pink_parks', pinkMapType);
===============

Everything in this code is pretty standard right up until the
"map.mapTypes.set()" method. If I have 2 styled maps on a map does
that count as 2 "map loads". So I (we) need a definitive answer to the
question "from what point does Google actually measure that a "map
load" has happened?"

- google.load('maps', '3')
- new google.maps.Map()
- map.mapTypes.set()
- something else? e.g. setCenter and zoom?

On a second note, I have been looking at the embedded solution which
will work fine for basic maps, but it seems to still be using the v2
map api? What's that all about?


Thanks,
Jarrod


On Nov 3, 1:16 am, gleff <[email protected]> wrote:
> Actually, it's not crystal clear but clearer nonetheless.
>
> Can you clarify though.
>
> "A single map load occurs when:
>
> a.the Maps JavaScript API (V2 or V3) is loaded by a web page or
> application;"
>
> I assume this means when the entire API is loaded eg. at
> initialization only (when the page first loads) by calling 
> thehttp://maps.google.com/maps?etc...?
>
> "The degree to which a user interacts with a map once it has been
> loaded has no impact on the usage limits. "
>
> So to clarify the last part, panning obviously makes no difference
> etc, but when adding markers/overlays.. does that mean it also has no
> impact?
>
> In essence am I correct in assuming that once the map loads, that's
> essentially it.  All other pans/changing map types (excluding street
> view), and adding/removing overlays all have no impact.  Eg. One visit
> (complete map load) = One transaction?
>
> Geoff
>
> On Nov 3, 11:52 am, Jeremy Geerdes <[email protected]> wrote:
>

-- 
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.

Reply via email to