google-maps - 从 Google Maps V3 中删除 "Sign In"-marker

标签 google-maps google-maps-api-3

我开发了一个带有非常突出的 Google map 的应用程序。右上角的“登录”标记会分散用户的注意力,因为我的应用程序有自己的“登录”。

是否允许并可能删除它?!
添加 disableDefaultUI: true 没有帮助。

Sign in button

最佳答案

这是因为您使用 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/

相关文章:

javascript - 谷歌地图及其标记

javascript - Google Maps Javascript - 使标记弹跳

java - Google Directions API 和使用maps.google.com 给出不同的响应

google-maps - 邮政编码搜索最近的位置

javascript - Chrome : Unexpected identifier , Firefox: missing ] after element list

javascript - Google map v3 API key 不适用于本地测试

javascript - 谷歌街景中一个像素离地面的高度/海拔

javascript - for循环中getJSON后的回调

java - Google服务无法初始化,状态:10

javascript - Google Maps v3 多边形、多段线交点