1

Can we get Google earth as a Map Type Id in api v3 ..

As this is done in Google maps also.. Check it out here

Can we do it ?

2 Answers2

1

Here is the Google ticket requesting to add the "Earth" button to the map type control.

And a more recent (started last summer) issue specifically asking for MapsGL support. (The more stars this issues gets, clicking the start to the left of the issue title...the faster it gets resolved! So add your vote!)

See this question: Google Earth integrated with Google Maps API v3?

Community
  • 1
  • 1
brims
  • 301
  • 2
  • 6
0

If you want to get the MapTypeId you can do it like:

var mapTypeId = myMap.getMapTypeId();

You can set MapType like:

myMapObject.setMapTypeId(google.maps.MapTypeId.SATELLITE);
Yaqub Ahmad
  • 27,569
  • 23
  • 102
  • 149