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

Inherits <NSObject>.

Instance Methods

(nonnull instancetype) - initWithLongitude:andLatitude:
 
(nonnull instancetype) - initWithLatitude:longitude:
 
(BOOL) - isAlmostEqualTo:
 
(BOOL) - isEqualTo:withAccuracy:
 

Class Methods

(nonnull instancetype) + mapCoordinatesWithLongitude:andLatitude:
 
(nonnull instancetype) + mapCoordinatesWithLatitude:longitude:
 

Properties

double longitude
 
double latitude
 

Detailed Description

A class representing geo coordinates.

Method Documentation

◆ initWithLatitude:longitude:()

- (nonnull instancetype) initWithLatitude: (double)  latitude
longitude: (double)  longitude 

◆ initWithLongitude:andLatitude:()

- (nonnull instancetype) initWithLongitude: (double)  longitude
andLatitude: ((deprecated("Use initWithLatitude:longitude: instead")))  __attribute__ 

◆ isAlmostEqualTo:()

- (BOOL) isAlmostEqualTo: (NMMapCoordinates *)  other

◆ isEqualTo:withAccuracy:()

- (BOOL) isEqualTo: (NMMapCoordinates *)  other
withAccuracy: (double)  accuracy 

◆ mapCoordinatesWithLatitude:longitude:()

+ (nonnull instancetype) mapCoordinatesWithLatitude: (double)  latitude
longitude: (double)  longitude 

◆ mapCoordinatesWithLongitude:andLatitude:()

+ (nonnull instancetype) mapCoordinatesWithLongitude: (double)  longitude
andLatitude: ((deprecated("Use mapCoordinatesWithLatitude:longitude: instead")))  __attribute__ 

Property Documentation

◆ latitude

- (double) latitude
readwritenonatomicassign

Latitude in degrees. Can take values fron -90.0 to 90.0.

◆ longitude

- (double) longitude
readwritenonatomicassign

Longitude in degrees. Can take values from -180.0 to 180.0.