Initializer

mapkit.BoundingRegion

Creates a rectangular bounding region defined by the latitude and longitude coordinates of the rectangle's northeast and southwest corners.

Declaration

new mapkit.BoundingRegion(Number northLatitude, Number eastLongitude, Number southLatitude, Number westLongitude);

Parameters

northLatitude

The north latitude of the bounding region.

eastLongitude

The east longitude of the bounding region.

southLatitude

The south latitude of the bounding region.

westLongitude

The west longitude of the bounding region.

Discussion

var region = new mapkit.BoundingRegion(northLatitude, eastLongitude, southLatitude, westLongitude);