[OpenLayers-Dev] Problems with vector in projection epsg:3021

Christopher Schmidt crschmidt at metacarta.com
Tue Oct 16 08:11:55 EDT 2007

On Tue, Oct 16, 2007 at 11:32:25AM +0200, Sw?rd M?rten wrote:
> Hello folks!
> I've tried to draw a polygon on a map with projection epsg:3021, I've
> managed to get the polygon to be drawn to the map but the problem is
> that the shape doesn't show util you relese the mouse button. I guess
> that the problem is that I have to set the projection (epsg:3021) on
> something more than just the map and the vector-layer, or..?

You should only need to set your projection parameters -- maxExtent,
maxResolution, and projection -- on the map. (Not your base layer,

If this isn't working, sharing HTML may help.

Christopher Schmidt

More information about the Dev mailing list