Skip to content

Search on the active Layer (change target with the radio button in L.control.layers) #51

Open
@novastra

Description

@novastra

Hello,

First of all thank you very much for this usefull search solution.

Is there any way to alternate the target of the research with a helper function like getActiveLayer?

I would like to have a unique search field that switches target according to the active Layer in L.control.layers.
The layers are not Json objects but arrays of coordinates.
I have looked into the documentation of Leaflet and the search plugin but I have not found anything.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions