1

我们可以在 api v3 中获取 Google 地球作为地图类型 ID 吗?

因为这也是在谷歌地图中完成的.. 在这里查看

我们能做到吗?

4

2 回答 2

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?

于 2013-12-11T15:25:37.093 回答
0

如果你想得到MapTypeId你可以这样做:

var mapTypeId = myMap.getMapTypeId();

您可以将 MapType 设置为:

myMapObject.setMapTypeId(google.maps.MapTypeId.SATELLITE);
于 2013-05-08T06:12:57.203 回答