react-leaflet-google-layer icon indicating copy to clipboard operation
react-leaflet-google-layer copied to clipboard

Is is possible to hide/disale POI points of interest?

Open benderlidze opened this issue 4 years ago • 1 comments

like this

styles: [{
            featureType: 'poi.business',
            stylers: [{
                visibility: 'off'
            }]
        }, {
            "featureType": "transit",
            "stylers": [{
                "visibility": "off"
            }]
        }, {
            "featureType": "poi",
            "stylers": [{
                "visibility": "off"
            }]
        },]

benderlidze avatar Feb 06 '21 15:02 benderlidze

@benderlidze Hi,

You can pass any valid google maps styles properties in the styles prop.

aviklai avatar Feb 07 '21 07:02 aviklai