On Jul 20, 6:31 pm, ddoc <[email protected]> wrote:
> Hum Ok I initialize my version with <script type="text/javascript"
> src="http://maps.google.com/maps/api/js?v=3.0&sensor=false";></script>
> but in that case I obtain an error object Line: 28 Error: Object
> expected => map = new
> google.maps.Map(document.getElementById("map_canvas1"), myOptions);
> If I remove the version it's works.
>

the v=3.0 refers to the older "stable" version, which doesn't contain
the StreetView feature.

leaving out the version, or specifying v=3, loads the latest
development version, which includes all features.

see 
http://code.google.com/apis/maps/documentation/javascript/basics.html#Versioning

...

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