Hello everybody,
I created a map adding a MapTypeControl(), added G_SATELLITE_3D_MAP to
map types through the constructor, started it with setMapType
(G_NORMAL_MAP).

I installed the Google Earth plugin; I use Firefox 3.0.5.

When in MapTypeControl I click on "Earth", an error message advice me
that "The Google Maps API key you use is registered for a different
web site".

Of course such code is NOT in production, but it's really simple:

            var map = new google.maps.Map2(document.getElementById
("map"), {mapTypes: [G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP,
G_PHYSICAL_MAP, G_SATELLITE_3D_MAP]});
            map.enableDoubleClickZoom();
            map.setCenter(new google.maps.LatLng(40.498886,
16.128850), 9);
            map.setMapType(G_NORMAL_MAP);
            map.addControl(new google.maps.LargeMapControl());
            map.addControl(new google.maps.OverviewMapControl());
            map.addControl(new google.maps.MapTypeControl());
            map.addControl(new google.maps.ScaleControl());

Is this a known problem?
Is there any workaround?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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