[OpenLayers-Users] Changing map max extent on the fly

2010-02-10 Thread strk
Hi all, is there a way to change a map's max extent on the fly ? I've tried with setOption with no success The goal is to change whole projection, but that also isn't working. So first thing first (extent): // Coming from: console.log(map.getMaxExtent()); --- left-bottom=(-180,-90)

Re: [OpenLayers-Users] Changing map max extent on the fly

2010-02-10 Thread Bart van den Eijnden
Hi strk, maybe you can look at: http://dev.openlayers.org/sandbox/elemoine/reproject/examples/reproject-map.html There are some OL tickets opened up by elemoine that should make reprojection easier, but I don't have the numbers by hand right now. Best regards, Bart On Feb 10, 2010, at 11:41

Re: [OpenLayers-Users] Changing map max extent on the fly

2010-02-10 Thread Eric Lemoine
On Wednesday, February 10, 2010, Bart van den Eijnden bart...@osgis.nl wrote: Hi strk, maybe you can look at: http://dev.openlayers.org/sandbox/elemoine/reproject/examples/reproject-map.html There are some OL tickets opened up by elemoine that should make reprojection easier, but I don't