Disable leaflet layer check box in a layer control w/ zoom

المشرف العام

Administrator
طاقم الإدارة
I would like to have layers listed in my layer control, but have their check boxes disabled when zoomed out beyond a certain level.

I am asking the same question that is found here, but with Leaflet instead of OpenLayers.

This is admittedly a "has this already been done" question. I could try to figure out if it can be translated easily from the open layers example above, but maybe someone has accomplished this already?



أكثر...
 
أعلى