开发者

How can I get the Google Maps API to show the "Map"/"Satellite" buttons?

Is t开发者_开发技巧here a way?


You can add map type controls to your map by doing:

map.addControl(new GMapTypeControl());


You could also use the setUIToDefault function:

map.setUIToDefault();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜