Google 地图 V2 API 街景小人(街景)
如何使用 V2 API 将街景小人(小橙色家伙)添加到 google 地图,这样我就可以将他从 google 控件拖到地图上以切换到街景。我可以看到如何在 V3 API 中执行此操作,但看不到如何在 V2 中执行此操作
How can I add the Pegman (little orange guy) to a google map using V2 API, so I can drag him from 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尽管可能有某种方法可以做到这一点,但根据 http://googlegeodevelopers.blogspot.com/2010/05/they-grow-up-so-fast.html。因此,即使你找到了一种方法,我也不会依赖它的稳健性。如果您需要街景小人,最好的办法就是升级到 API v3。
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.