The ReturnValue
property returned by Calculate
contains the calculation results for the requested operation. The
type of the value depends on the operation.
The following table describes the calculation results returned for each operation.
Operation |
ReturnValue description |
ReturnValue type |
---|---|---|
|
Contains the distance between the source location and the target location in meters. |
number |
|
Contains the bearing to the target location from the source location. The bearing is expressed in degrees counting clockwise relative to true north. |
number |
|
Contains the coordinates of the new location. The properties of this object are described in the following table. The coordinates are referenced according to the WGS 84 datum. The representation is in decimal degrees. |
object |