Discussion:
Dynamically change map projection
(too old to reply)
mirko
2017-12-14 22:14:14 UTC
Permalink
Hi,
i have a map and i want to dynamically change projection. I mean: 1.
initialize a map setting the view with a projection 2. create a new instance
of ol.View with different projection and set the new view into the map.
It works but there is an issue: it doen't clean the canvas and some static
images of old view persist into the map.
Is there any way to refresh the content of the map canvas after setting the
new view ? Or is there any other way to switch to a new projection without
create a new map?

Thanks

Mirko





--
Sent from: http://osgeo-org.1560.x6.nabble.com/OpenLayers-Users-f3910695.html
Continue reading on narkive:
Loading...