Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Instance Methods | Class Methods | Properties | List of all members
NMMapRectangle Class Reference

Inherits <NSObject>.

Instance Methods

(NMMapCoordinates *) - topLeft
 
(NMMapCoordinates *) - bottomRight
 
(nullable instancetype) - initWithMinLongitude:minLatitude:maxLongitude:maxLatitude:
 
(nullable instancetype) - initWithTopLeft:bottomRight:
 

Class Methods

(nullable instancetype) + mapRectangleFromCoordinates:
 

Properties

double minLongitude
 
double maxLongitude
 
double minLatitude
 
double maxLatitude
 

Detailed Description

Map coordinates rectangle.

Method Documentation

◆ bottomRight()

- (NMMapCoordinates *) bottomRight

Bottom right coordinate.

◆ initWithMinLongitude:minLatitude:maxLongitude:maxLatitude:()

- (nullable instancetype) initWithMinLongitude: (double)  minLongitude
minLatitude: (double)  minLatitude
maxLongitude: (double)  maxLongitude
maxLatitude: (double)  maxLatitude 

◆ initWithTopLeft:bottomRight:()

- (nullable instancetype) initWithTopLeft: (NMMapCoordinates *)  topLeft
bottomRight: (NMMapCoordinates *)  bottomRight 

◆ mapRectangleFromCoordinates:()

+ (nullable instancetype) mapRectangleFromCoordinates: (NSArray< NMMapCoordinates * > *)  array

◆ topLeft()

- (NMMapCoordinates *) topLeft

Top left coordinate.

Property Documentation

◆ maxLatitude

- (double) maxLatitude
readwritenonatomicassign

◆ maxLongitude

- (double) maxLongitude
readwritenonatomicassign

◆ minLatitude

- (double) minLatitude
readwritenonatomicassign

Min and max latitude values in degrees. Can take values from -90.0 to 90.0.

◆ minLongitude

- (double) minLongitude
readwritenonatomicassign

Min and max longitude values in degrees. Can take values from -180.0 to 180.0.