Dynamically change map projection

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Dynamically change map projection

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?



Sent from: http://osgeo-org.1560.x6.nabble.com/OpenLayers-Users-f3910695.html
Users mailing list
[hidden email]