origo-map / multiselect-plugin

Multiselect plugin for Origo
MIT License
2 stars 10 forks source link

Make it possible to select which layers are available for selection #9

Closed steff-o closed 2 years ago

steff-o commented 2 years ago

Add a configuration with a list of layers that are available for selection. It should be possible to have several sets of configurations and the user should be able to change between them.

If a layer is explicitly configured as available for selection, features should be selected even if the layer is not currently visible. Of course the current default behavior of only selecting in visible layers should also be possible.

The main use case for this functionality is to select pre defined feature types without risking to miss any due to zoom level or user accidently turning off layers. For instance, a user wants to see which water reservoirs are within 1 km of a selected industrial zone and must not be fooled that there are no water reservoirs just because the user had zoomed out beyond the water reservoir zoom level.