stefanocudini / leaflet-search

Search stuff in a Leaflet map
https://opengeo.tech/maps/leaflet-search/
MIT License
780 stars 335 forks source link

Is this request possible? ( search only on selected layer ) #336

Open dem10com opened 3 months ago

dem10com commented 3 months ago

I have more than one layergroup. When I select any of these layers, can I search only on the selected one? Not all markers appear on the screen when first opened. Whenever I activate a layer, I want to search from the data (json) under that heading.