hslayers / hslayers-ng

User interface and map building extensions for OpenLayers
https://ng.hslayers.org/
MIT License
36 stars 20 forks source link

Allow to turn layers on/off from map swipe panel #2478

Closed fzadrazil closed 2 years ago

fzadrazil commented 2 years ago

Feature Request

Describe the solution you'd like It might be too much to ask :-) But as I work with the swiper, it would be really great to have a chance to turn on and off the layers directly from the map swipe panel. Sth like that... image

Do you think it is possible? If you have more layers in the map and need to switch between, it would be really handy not have to always switch to layer manager and back to map swipe.

Alternative solution Another solution would be to display only currently visible layers in the map swipe list (there is no sense to display invisible layers there). The user would see then what layers are available for the swiper, but would still have to switch to layer manager to turn layers on and off.

raitisbe commented 2 years ago

The checkbox ticking might interfere with dragging

On Wed, 22 Dec 2021, 02:11 fzadrazil, @.***> wrote:

Assigned #2478 https://github.com/hslayers/hslayers-ng/issues/2478 to @raitisbe https://github.com/raitisbe.

— Reply to this email directly, view it on GitHub https://github.com/hslayers/hslayers-ng/issues/2478#event-5801894058, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAR6QO6E4GAJX6ACFGPH3USEJR7ANCNFSM5KRKYCQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were assigned.Message ID: @.***>

DailisLangovskis commented 2 years ago

I'll see what I can do, but only in the evening.