Please read thoroughly the tutorial Rossko gave you and completely
FORGET the code above (a copy/paste from several tutorials, or
outdated pages, not from the same API release... that's why you get
some errors... the class GMap2 does not exist in V3, for example).
Also, when importing the API in the SCRIPT tag, please include the
following attribute to be sure to get the latest v3 release ; the
sensor parameter can be set to false, unless your web application is
run from a device with a GPS (not likely for a PC, but if the
application is devised for a mobile phone, that's possible).
script type="text/javascript"
src="http://maps.google.com/maps/api/js?v=3&sensor=false">
</script>
On 4 août, 14:20, Rossko <[email protected]> wrote:
> > But I didn't understand, which URL I should include, that API will
> > loaded ?
>
> I'm not telling you. Read the
> tutorialhttp://code.google.com/apis/maps/documentation/javascript/tutorial.html
--
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.