[OpenLayers-Users] different behaviour in geometry.rectangle class

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Thu Mar 6 03:29:04 EST 2008


Hi
I'm using the openlayers trunk version. There is probably a different
behaviour in how the rectangle from the Openlayers.Geoemetry.Rectangle
class in drawn. In FF the coordinate from the constructor is the lower
left corner but in IE it is the upper left corner. Changing line 422
from SVG.js to "node.setAttributeNS(null, "y", y-geometry.height /
resolution);" solves the issue.

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
stefan.ziegler at bd.so.ch
http://www.so.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080306/60513103/attachment.html


More information about the Users mailing list