Leaflet Layer Visibility Checkbox

المشرف العام

Administrator
طاقم الإدارة
I have created this JSFiddle OpenLayers map that toggles the layers visibility using the bootstrap-switch.

I am looking to achieve the same with leaflet but can't seem to get the equivalent of the setVisible command in Leaflet to work with the bootstrap-switch.



أكثر...
 
أعلى