[OpenLayers-Users] Dynamically change map projection

mirko mirko.lavalle78 at gmail.com
Thu Dec 14 14:14:14 PST 2017


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


More information about the Users mailing list