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

Inherits <NSObject>.

Instance Methods

(nullable instancetype) - NS_UNAVAILABLE
 
(BOOL) - hasOfflineMapOfCountry:
 
(BOOL) - hasOfflineMapOfState:
 

Class Methods

(nullable instancetype) + NS_UNAVAILABLE
 

Properties

NSArray< NSString * > * offlineMapsList
 

Detailed Description

An utility class providing you with the information on downloaded offline maps on the device.

Method Documentation

◆ hasOfflineMapOfCountry:()

- (BOOL) hasOfflineMapOfCountry: (NSString *)  countryCode

Returns BOOL value indicating if map of the specified country is loaded.

Parameters
countryCodeISO3 code of the country.
Returns
YES if the map is loaded, NO otherwise.

◆ hasOfflineMapOfState:()

- (BOOL) hasOfflineMapOfState: (NSString *)  stateCode

Returns BOOL value indicating if map of the specified state is loaded.

Parameters
stateCodeCode of the state.
Returns
YES if the map is loaded, NO otherwise.

◆ NS_UNAVAILABLE() [1/2]

- (nullable instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE() [2/2]

+ (nullable instancetype) NS_UNAVAILABLE

Property Documentation

◆ offlineMapsList

- (NSArray<NSString *>*) offlineMapsList
readnonatomiccopy

A list of all maps installed on the device for working in offline mode.