Hi

I have problems with drawing a regular polygon in a layer with a
different EPSG-code than 4326. It shows up perfectly after the mouse-up
event but is not shown while the mouse-down event. The vector layer is
defined as follows:
            
      var polygonLayer = new OpenLayers.Layer.Vector("DXF",
                {
                  maxExtent: new
OpenLayers.Bounds(590000,213500,645000,262000),
                  maxResolution: 'auto',
                  projection:"EPSG:21781",
                  units:"m"
                }
            );

Without the options the vector layer is disabled at a certain scale but
the polygon is shown while the mouse button is down. Any ideas? (The
example can be found here: http://www.john-longo.org/geo/geobau.html)


regards
Stefan

Mit freundlichem Gruss
Stefan Ziegler
Leiter Aufsicht

Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
Rötistrasse 4
4501 Solothurn
Telefon 032 627 75 96
Telefax 032 627 75 98
[EMAIL PROTECTED]
http://www.so.ch

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to