[OpenLayers-Users] measure control...

David Hollema dhollema at UnitedPower.com
Fri Apr 3 11:33:34 EDT 2009


My map is in units of feet.  My measure control returns units of meters.
Is there a way to specify what units the measure control returns?  I
tried it in the constructor options below but it still returns units of
meters.

 

var measureControl = new
OpenLayers.Control.Measure(OpenLayers.Handler.Path, {title:'Measure
height', units:'ft'});

 
measureControl.events.on({"measure":handleMeasurements,
"measurepartial":handleMeasurements});

 

 

David A. Hollema

GIS Analyst

 

United Power, Inc.

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


More information about the Users mailing list