Class

mapkit.CoordinateSpan

The width and height of a map region.

Declaration

interface mapkit.CoordinateSpan

Overview

You use the delta values in a coordinate span to indicate the desired zoom level of the map. Smaller delta values correspond to a higher zoom level. The "span" in this class refers to the width and height of a region, with distances expressed in degrees of latitude and longitude.

Topics

Creating a Coordinate Span

mapkit.CoordinateSpan

Creates a new coordinate span object with the specified latitude and longitude deltas.

Defining the Span

latitudeDelta

The amount of north-to-south distance (measured in degrees) to display on the map.

longitudeDelta

The amount of east-to-west distance (measured in degrees) to display for the map region.

Copying and Comparing Spans

copy

Returns a copy of the coordinate span.

equals

Returns a Boolean value that indicates whether two spans are equal.

See Also

Map Coordinates

mapkit.Coordinate

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

mapkit.CoordinateRegion

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

mapkit.BoundingRegion

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