This namespace provides functionality for geographic computation.
Classes
- AbstractGeometry
- LineString
- MultiGeometry
- MultiLineString
- MultiPoint
- MultiPolygon
- PixelProjection
- Point
- Polygon
- Rect
Members
-
H.geo.mercator H.geo.IProjection staticnon-null
-
This property represents a spherical Mercator projection. It represents the Earth as a sphere and maps geographic coordinates to a corresponding two-dimensional space. The
Mapuses this projection by default.
Methods
-
To obtain whether a leg (formed by the given two longitudes) crosses the International Date Line.
Name Type Description lng1H.geo.Longitude The start longitude of the leg
lng2H.geo.Longitude The end longitude of the leg
Returns:
Type Description boolean
Type Definitions
-
This property holds a geographic coordinate that specifies the elevation of a point on the Earth's surface in meters. A value of
undefinedis treated as0. -
This property holds a geographic coordinate that specifies the north-south position of a point on the Earth's surface in the range from -90 to + 90 degrees, inclusive.
-
This property holds a geographic coordinate that specifies the east-west position of a point on the Earth's surface in the range from -180 to 180 degrees, inclusive.
Interface Definitions
-
An interface to represent a geographic point. Every point in geographic space is represented by three coordinates latitude, longitude and optional altitude.
-
This interface represents a map projection. It defines functions that transform geographic coordinates to EPSG3857 coordinate reference system, which uses x, y values in range 0..1