To load Maps v3 via the JSAPI, use this call:

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

omr was simply noting that it's in the Premier docs, which are separate and 
distinct from Maps API v3 docs (which don't mention it).

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Aug 9, 2010, at 9:17 AM, ciphertext wrote:

> omr,
> 
> After reading the documentation you linked to, it would appear that
> ability to load version 3 of the Google Maps API via JSAPI is
> available only to premier members.  It says you must include your
> client ID.
> 
> On Jul 5, 11:48 pm, omr <[email protected]> wrote:
>> Though unfortunately not yet mentioned inMapsAPIv3(non-Premier)
>> documentation, the "other_params" property is mentioned in the Loader
>> documentation,MapsAPI Premier documentation, andMapsAPI v2
>> documentation.
>> 
>> .
>> 
>> http://code.google.com/apis/ajax/documentation/#DetailedDocumentation
>> 
>>   > "... other_params: This is an object that contains options
>> typically only supported by a particular API (and usually very
>> specific to the API). If you would typically send in a parameter by
>> via a script tag for an API, you can send it in other_params
>> instead. ..."
>> 
>> .
>> 
>> http://www.google.com/search?q=site:code.google.com/apis/maps/documen...
>> 
>> http://code.google.com/apis/maps/documentation/javascript/v2/basics.h...
>> 
>> http://code.google.com/apis/maps/documentation/premier/guide.html#Com...
>> 
>>   > google.load("maps","3", {"other_params": [...] });
>> 
>> .
>> 
>> Alternatively you can load the API dynamically via script element.
>> Forv3:
>> 
>>   function apiLoaded() { ... }
>> 
>>   var script = document.createElement("script");
>>   script.type = "text/javascript";
>>   script.src = "http://maps.google.com/maps/api/js?
>> v=3&callback=apiLoaded&sensor=false";
>>   document.body.appendChild(script);
>> 
>> -- omr
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" 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-ajax-search-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en.

Reply via email to