You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your fab panel control plugin to create many layers which go into the control panel to be turned on and off.
All 30 geojson files are called via the
and added to the overLayers object and onto the map via
var panelLayers = new L.Control.PanelLayers(baseLayers, overLayers, { compact: true, //groupCheckboxes: true, collapsibleGroups: true, selectorGroup: true, }); map.addControl(panelLayers);
If I want to search the geojson features added by the above (like your multiple layers example) what layername do I use for the layergroup? I tried using "panelLayers" as above but that didn't work.
Thanks
The text was updated successfully, but these errors were encountered:
I am using your fab panel control plugin to create many layers which go into the control panel to be turned on and off.
All 30 geojson files are called via the
$.getJSON('data.geojson', function(j) { l.addData(j); });
and added to the overLayers object and onto the map via
var panelLayers = new L.Control.PanelLayers(baseLayers, overLayers, { compact: true, //groupCheckboxes: true, collapsibleGroups: true, selectorGroup: true, }); map.addControl(panelLayers);
If I want to search the geojson features added by the above (like your multiple layers example) what layername do I use for the layergroup? I tried using "panelLayers" as above but that didn't work.
Thanks
The text was updated successfully, but these errors were encountered: