I want to show the geojson layer only at specific zoom levels.
It's not a feature of leaflet-tilelayer-geojson so I add/remove the geojsonlayer.
If the layer is not added I get the following error:
Line 108:
Uncaught TypeError: Cannot read property '_pathRoot' of null
I want to show the geojson layer only at specific zoom levels. It's not a feature of leaflet-tilelayer-geojson so I add/remove the geojsonlayer. If the layer is not added I get the following error:
Line 108: Uncaught TypeError: Cannot read property '_pathRoot' of null