Description
Hi, I am looking for the way to set up this config on Map :
{
"featureType": "all",
"elementType": "labels.text",
"stylers": [ { "visibility": "off" } ]
},
{
"featureType": "poi",
"elementType": "labels.icon",
"stylers": [ { "visibility": "off" } ]
}
for hiding labels on Map.
{
mapTypeId: mapTypeIds[mapTypeFromProps],
center: center,
zoom: this.props.zoom,
maxZoom: this.props.maxZoom,
minZoom: this.props.minZoom,
clickableIcons: !!this.props.clickableIcons,
disableDefaultUI: this.props.disableDefaultUI,
zoomControl: this.props.zoomControl,
zoomControlOptions: this.props.zoomControlOptions,
mapTypeControl: this.props.mapTypeControl,
mapTypeControlOptions: this.props.mapTypeControlOptions,
scaleControl: this.props.scaleControl,
streetViewControl: this.props.streetViewControl,
streetViewControlOptions: this.props.streetViewControlOptions,
panControl: this.props.panControl,
rotateControl: this.props.rotateControl,
fullscreenControl: this.props.fullscreenControl,
scrollwheel: this.props.scrollwheel,
draggable: this.props.draggable,
draggableCursor: this.props.draggableCursor,
keyboardShortcuts: this.props.keyboardShortcuts,
disableDoubleClickZoom: this.props.disableDoubleClickZoom,
noClear: this.props.noClear,
styles: this.props.styles,
gestureHandling: this.props.gestureHandling
}
So, What is the correct way or is it possible now???