Kazu46Machi / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
0 stars 0 forks source link

GMaps Integration, "Earth" button fails in Chrome #182

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The problem is produced when I use the next line in Google Chrome:

map.addMapType(G_SATELLITE_3D_MAP); 

map.addControl(new GHierarchicalMapTypeControl());
map.addControl(new GLargeMapControl());

The expected behavior is to see a "Earth" button in the created map
But when I use Chrome I can's see anything, but if I use IE(hate it)
it's working perfectly, so nice that is even traslated to spanish "La 
Tierra", maybe country is the problem, couse I can't do anything to see it 
in english, I guess.

Plugin version? Don't know, I download it today, March 13/09

Right Now I'm using Windows XP-SP2, so I tryed on Chrome, Mozilla and IE,
but the only one that fails was Google Chrome.

Additionally to be sure on don't having any mistake on my code, I've tryed
an example from:
http://code.google.com/intl/es-ES/apis/earth/documentation/examples.html
the one called: Google Maps Integration
and got the same problem, the only browser that don't show the "Earth" 
button was Chrome.
I'm not sure if it's a language problem or Browser's one, but guess it's 
Chrome's.
I'm from Medellin, Colombia,if it helps (So sorry for my English)
TNX

Original issue reported on code.google.com by roldansm...@gmail.com on 14 Mar 2009 at 5:10

GoogleCodeExporter commented 8 years ago
The fix for this is currently live in Maps API version 2.x... it will go live 
as soon
as the currently 2.x version is pushed up to 2.

You can also make the 'Earth' tab show up by using:

var map  = new GMap2(..., { mapTypes: G_NORMAL_MAP, G_SATELLITE_3D_MAP });

as opposed to addMapType

Original comment by api.roman.public@gmail.com on 16 Mar 2009 at 6:58