How to remove zoom buttons and man button from Google Maps

Hi! In this tutorial I'm going to explain you how you can customize the Google Maps. I will explain how you can remove zoom buttons and man button from the Google Maps.

To remove zoom buttons, you must add

zoomControl: false

in google.maps.Map.

to remove man button, you must add

streetViewControl: false

google.maps.Map

Full Example:

var map = new google.maps.Map(document.getElementById('mymap'), {
zoomControl: false,
streetViewControl: false,
});

Untitled

I hope this will be helpful for you!









Leave a Comment