开发者

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

开发者 https://www.devze.com 2022-12-23 12:53 出处:网络
Is t开发者_开发技巧here a way?You can add map type controls to your map by doing: map.addControl(new GMapTypeControl());

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

精彩评论

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