[Google Maps API v2] Version 3
Good day.
I link up with version 3 so:
<script src="http://maps.google.com/maps?
file=api&v=3&key=<key>&sensor=true"
type="text/javascript">
</script>
Then I do:
moscow=new google.maps.LatLng(55.76,37.64);
var mapOptions={ zoom: 11,
center: moscow,
mapTypeId:
google.maps.MapTypeId.ROADMAP
};
map=new
google.maps.Map(document.getElementById('JCard'),mapOptions);
And I get:
google.maps.MapTypeId is null or is not object.
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home