Contents

MapPoint

A location, in map units, of a point on the Earth’s surface projected onto a 2D map.

Declaration

class MapPoint

Overview

Map units are a value from 0 to 1 that represent an interpolated location within the height or width of the full map projection. On a two-dimensional map, the upper-left corner of the map projection has the coordinate (0, 0), and the lower-right corner of the map projection has the coordinate (1, 1).

As another point of reference, mapkit.MapPoint(0.5, 0.5) corresponds to the center of the map, which MapKit JS also represents as the coordinate mapkit.Coordinate(0, 0).

Topics

Creating a map point

Defining a map point

Working with map points

Instance Methods

See Also

Map units