Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide the Sign in button from Google maps?

Google maps (v3) now loads with a "Sign in" button at the top-right corner of the canvas. How to hide this button?

Google maps

like image 726
Gajus Avatar asked Jan 09 '23 17:01

Gajus


1 Answers

You need to set "signed_in=false" in the API include (or remove it).

<script src="https://maps.googleapis.com/maps/api/js?signed_in=false"></script>

See the documentation on signed in maps for more details.

like image 138
geocodezip Avatar answered Jun 06 '23 00:06

geocodezip