i am using distanceTo function in OpenLayers Geometry.
here am confused in which format it will return the value. It is in Kilometers or meters?
|
i am using distanceTo function in OpenLayers Geometry. here am confused in which format it will return the value. It is in Kilometers or meters? |
|||
|
|
|
Correction:Sorry, default is degrees. map units documentation
But you can change that in your map constructor:
You can get the units like this:
|
|||||
|
|