更新时间:2023-08-30 13:08:22
这是因为您将 signed_in = true
参数包含在Google Maps脚本中。
< script src =https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=真>< /脚本>
by
< script src =https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=false>< / script>
甚至删除 sign_in
参数。
I develop an application with a very prominent Google Map. The "Sign In"-marker at the top right is distracting for the user, as my application has its own "Sign In".
Is it allowed and possible to remove that?!
Adding disableDefaultUI: true
does not help.
This is because you include the Google Maps script with signed_in=true
parameter.
Just replace :
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true"></script>
by
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=false"></script>
or even remove the sign_in
parameter.