开发者

Google Maps V2 API Pegman (Streetview)

开发者 https://www.devze.com 2023-02-22 10:40 出处:网络
How can I add the Pegman (little orange guy) to a google map using V2 API, so I can drag him f开发者_运维百科rom the google controls onto the map to switch to street view. I can see how to do this in

How can I add the Pegman (little orange guy) to a google map using V2 API, so I can drag him f开发者_运维百科rom the google controls onto the map to switch to street view. I can see how to do this in the V3 API but cannot see how to do this in V2


Although there may be some way to do it, pegman support was only added in Google Maps API v3 according to http://googlegeodevelopers.blogspot.com/2010/05/they-grow-up-so-fast.html. So even if you figure out a way to do it, I wouldn't rely on it being robust. Best thing to do, if you need pegman, is to upgrade to API v3.

0

精彩评论

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