Is it possible to show layers with Leaflet depending on scaling? For example not show counties until zoom level reaches 10.
yes you can set the scale in the constructor:
vectors don't have max/min properties, you could use a zoomend event to trigger adding or removing them, something like:
Thanks for the answer, it works which is awesome!
Just wanted to add that the method is slightly different from warrieka mentioned.
Needs to be - map.getZoom() not map.zoom