[OpenLayers-Users] getArea calculated wrong area.........
Rossko
rossko at culzean.clara.co.uk
Thu Jun 10 13:55:06 EDT 2010
> var area = feature.geometry.getLength();
I wouldn't expect that to return an area??
Have you tried .getArea() ?
http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Geometry/Polygon-js.html
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/getArea-calculated-wrong-area-tp5163217p5164477.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list