1

Which google map option is used to hide the little man in a google map?

enter image description here

Here are my map options

mapOptions.zoom = 18;
mapOptions.zoomControl = true;
mapOptions.center = new window.google.maps.LatLng(mapCoordinates.latitude, mapCoordinates.longitude);
mapOptions.disableDefaultUI = false;
mapOptions.draggable = true;
mapOptions.styles = "";
mapOptions.disableDoubleClickZoom = true;
mapOptions.mapTypeControl = false;
chuckd
  • 13,460
  • 29
  • 152
  • 331

1 Answers1

7

Teh little man is named Pegman and the control is streetViewControl

            var mapOptions = {
                center: new google.maps.LatLng(initLat, initLng),
                zoom: initZoom,
                streetViewControl: false,  //don't show the  pegman 
                mapTypeId: google.maps.MapTypeId.SATELLITE,
                mapTypeControl:false,
                scaleControl: true, 
                tilt: 0,
                styles: mlwStyles                   
            };
ScaisEdge
  • 131,976
  • 10
  • 91
  • 107