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

Inherits <NSObject>.

Instance Methods

(nullable instancetype) - NS_UNAVAILABLE
 
(nullable instancetype) - initWithCoordinates:
 

Class Methods

(nullable instancetype) + NS_UNAVAILABLE
 
(nullable instancetype) + placeWithCoordinates:
 

Properties

NSString * name
 
NMPlaceType type
 
NMMapCoordinatescoordinates
 
NMAddressaddress
 
BOOL isAddressApproximated
 
NMPoipoiInfo
 

Detailed Description

A class representing a place on map.

Method Documentation

◆ initWithCoordinates:()

- (nullable instancetype) initWithCoordinates: (NMMapCoordinates *)  coordinates

◆ NS_UNAVAILABLE() [1/2]

+ (nullable instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE() [2/2]

- (nullable instancetype) NS_UNAVAILABLE

◆ placeWithCoordinates:()

+ (nullable instancetype) placeWithCoordinates: (NMMapCoordinates *)  coordinates

Property Documentation

◆ address

- (NMAddress*) address
readwritenonatomicstrong

The address of the place.

◆ coordinates

- (NMMapCoordinates*) coordinates
readwritenonatomicstrong

The coordinates of the place.

◆ isAddressApproximated

- (BOOL) isAddressApproximated
readwritenonatomicassign

BOOL value indicating whether the place has a precise address or the address is approximate.

◆ name

- (NSString*) name
readwritenonatomiccopy

The name of the place.

◆ poiInfo

- (NMPoi*) poiInfo
readwritenonatomicstrong

Provides additional information about the place, if the type of the place is NMPlaceTypePoi. Returns nil, if the type of the place is not NMPlaceTypePoi.

◆ type

- (NMPlaceType) type
readwritenonatomicassign

The type of the place represented by NMPlaceType enum.