react-leaflet-google-layer
react-leaflet-google-layer copied to clipboard
Google layer for React-Leaflet using leaflet.gridlayer.googlemutant, implemented with typescript
like this ``` styles: [{ featureType: 'poi.business', stylers: [{ visibility: 'off' }] }, { "featureType": "transit", "stylers": [{ "visibility": "off" }] }, { "featureType": "poi", "stylers": [{ "visibility": "off" }]...
There's something in the setup or use with leaflet which means I can't get this running with server side rendering. apparently window isn't defined
Here is my code: import { Map } from "react-leaflet"; import ReactLeafletGoogleLayer from "react-leaflet-google-layer"; . . . . . . . .