删除/编辑 Google 地图上的 Google 链接
有没有办法删除或编辑街景全景图中左下角的白色“Google”链接?我不介意它在那里,只要它不链接回它所显示的位置的坐标即可。我正在制作一款游戏,人们必须猜测所显示的位置,这破坏了它的全部意义。我已经通过 addressControl: false
删除了地址。
Is there a way of removing or editing the white bottom-left "Google" link in a Street View panorama? I don't mind that it is there as long as it doesn't link back to the coordinates of the place it's showing. I'm making a game where the person has to guess the location being shown and this ruins the whole point of it. I already removed the address via addressControl: false
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果不使用街景全景图,则不会,但也许您想使用街道查看图像API。
Not using a Street View Panorama there isn't, but maybe instead you want to use the Street View Image API.
我根据这个问题提出了一个解决方案。这个想法是在不需要的部分上方放置一个
div
,该部分是透明的并链接回 Google 地图。在 Chrome 和 Safari 上测试:注意: 当然,用户可以轻松删除
div
。I've come up with a solution based on this question. The idea is to put a
div
above the undesired part that is transparent and links back to Google Maps. Tested on Chrome and Safari:NOTE: The
div
can, of course, be easily deleted by the user.