[OpenLayers-Users] geometry.getLength() returns what format
Chris Hardin
chrislhardin at gmail.com
Thu Sep 6 10:36:21 EDT 2007
What does the persist options indicate for a handler option??
On 9/5/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Wed, Sep 05, 2007 at 02:00:49PM -0500, Chris Hardin wrote:
> > What does getLength() on the geometry object? Is this measurement in
> > degrees? I need to convert to mileage or Kilometers.
>
> This measurement is in map units. If you want it in miles, you're going
> to want to look at:
>
> http://dev.openlayers.org/sandbox/tschaub/feature/examples/measure.html
> http://dev.openlayers.org/sandbox/tschaub/feature/lib/OpenLayers/Control/Measure.js
>
> (I do not think these will be in 2.5.)
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
>
--
Chris Hardin
Software Architect
Archetype Corporation
More information about the Users
mailing list