我开发了一个带有非常突出的 Google map 的应用程序。右上角的“登录”标记会分散用户的注意力,因为我的应用程序有自己的“登录”。
是否允许并可能删除它?!
添加 disableDefaultUI: true
没有帮助。
最佳答案
这是因为您使用 signed_in=true
参数包含了 Google map 脚本。
只需替换:
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true"></script>
通过
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=false"></script>
甚至删除 sign_in
参数。
关于google-maps - 从 Google Maps V3 中删除 "Sign In"-marker,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28854715/