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 [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-api?hl=en.

Reply via email to