Closed fzadrazil closed 2 years ago
From the UI and program architecture perspectives I think this can be implemented as a new module with a new panel, where in the panel there would be following controls:
Thanks for the doodle, Honza! Yep, that is in accordance with the original idea. I think it will be good to start with the integration of swipe control into the map and then we can solve the exact method of selecting the map windows content.
@jmacura @raitisbe So this will be a standalone app or module. I would like to start experimenting, but I want to know from which end to start.
If possible, we would like to have it as a hslayers module, another tool in the panel. We will then use it in multiple applications.
If possible, we would like to have it as a hslayers module, another tool in the panel. We will then use it in multiple applications.
Alright then, I will take on this issue.
Feature Request
Create new tool which will introduce a map swipe control so the user is able to compare two map contents while the view is synchronized. Eg. https://viglino.github.io/ol-ext/examples/control/map.control.swipe.html https://github.com/Viglino/ol-ext/blob/master/src/control/Swipe.js There can be several options how to define the map content of both the windows. That is for a discussion:
I guess the selected solution depends on what the swipe control component is capable of.
Additional context One existing application for inspiration https://app.iprpraha.cz/apl/app/prahavcera/ But we would like to have more general tool for HSLayers, not just one specific application.