openmove / odh-mentor-otp

https://mobility.meran.eu
1 stars 3 forks source link

de/select all layers #159

Closed stefanocudini closed 1 year ago

stefanocudini commented 1 year ago

new de/select all button in layers menu image

stefanocudini commented 1 year ago

one way could be create a new switch that when change... trigger events in all other switch of all layers

stefanocudini commented 1 year ago

@Ghoster981 a possible way to resolve issues of this type, the "plugin way" https://react-leaflet-v2-docs.netlify.app/docs/en/plugins

https://github.com/LiveBy/react-leaflet-control