leaflet-search icon indicating copy to clipboard operation
leaflet-search copied to clipboard

how to use this with your panel control plugin?

Open iowprow opened this issue 1 year ago • 1 comments

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

iowprow avatar Feb 20 '24 00:02 iowprow

I'm stuck here too. Did you find a solution?

dem10com avatar Jun 29 '24 07:06 dem10com