Documentation
Reference
2.1.38 (current version)
collection
interactivityModel
Interfaces

coordSystem.geo

Static object.

Instance of ICoordSystem

Object that describes the geometry of the Earth's surface. Used for constructing shortest routes (geodetic lines) between points on the Earth's surface and finding distances.

Methods

coordSystem.geo()

Methods

NameReturnsDescription
getDistance(point1, point2)Number

Returns the shortest distance (along a geodetic line) between the two set points (in meters).

solveDirectProblem(startPoint, direction, distance)Object

Solves the first (direct) geodetic problem: where we will end up, if we start from a specified point and go in the specified direction for the specified distance, without turning.

solveInverseProblem(startPoint, endPoint[, reverseDirection])Object

Solves the second (inverse) geodetic problem: construct the shortest route between two points on the mapped surface and determine the distance and direction of movement.