I would like to share my view with 2 different map:
I checked on OpenLayers and the closed I found is that: https://openlayers.org/en/latest/examples/side-by-side.html (but the view of the 2 maps change when the user drag and drop).
I found that link (at 1min27s): https://www.youtube.com/watch?v=xKON7YWWXUI. Is it possible to do that with OpenLayers ? Can we share 1 view into 2 different layers ?
ol-ext lib provides a swipe control.
See example online: https://viglino.github.io/ol-ext/examples/control/map.control.swipe.html