Class

mapkit.Coordinate

An object representing the latitude and longitude for a point on the Earth's surface.

Declaration

interface mapkit.Coordinate

Topics

Creating a Coordinate

mapkit.Coordinate

Creates a coordinate object with the specified latitude and longitude.

Defining the Coordinates

latitude

The latitude in degrees.

longitude

The longitude in degrees.

Comparing, Copying, and Converting Coordinates

copy

Returns a copy of the coordinate.

equals

Returns a Boolean value indicating whether two coordinates are equal.

toMapPoint

Returns the map point that corresponds to the coordinate.

toUnwrappedMapPoint

Returns the unwrapped map point that corresponds to the coordinate.

See Also

Map Coordinates

mapkit.CoordinateRegion

A rectangular area on a map defined by a center coordinate and a span, expressed in degrees of latitude and longitude.

mapkit.CoordinateSpan

The width and height of a map region.

mapkit.BoundingRegion

A rectangular area on a map, defined by coordinates of the rectangle's northeast and southwest corners.