HERE iOS SDK Developer's Guide

NMAMapPackage

Class Summary

class NMAMapPackage

Derived from: NSObject

A collection of map data encompassing a particular region or country.

Include: NMAKit.framework/headers/NMAMapPackage.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAMapPackage

[For complete information, see the section Class Details]

See also:

NMAMapLoader

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, strong] NSArray< NMAMapPackage * > *  children

An immutable list of the children of the map package if any exist, an empty list otherwise

[readable, assign] NSString *  englishTitle

The title of the package in English

[readable, assign] NMAMapPackageInstallation   installationStatus

Indicates whether or not this NMAMapPackage is currently installed on disk

[readable, assign] NSInteger  packageId

The unique ID of the map package

[readable, weak] NMAMapPackage parent

The parent of the map package if one exists, nil otherwise

[readable, assign] long  sizeOnDisk

The maximum size (in KB) the map package will take up on disk

[readable, assign] NSString *  title

The human readable title of the map package

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

A collection of map data encompassing a particular region or country.

Map data packages can be selectively installed or uninstalled using the NMAMapLoader API. Installing a package makes its data available for offline usage.

Note:

NMAMapPackage objects are immutable; their properties will not change after creation even if the state of the installed map data changes. In this case, a new package list should be obtained.

See also:

NMAMapLoader

Public Property Details

[readable, strong] NSArray< NMAMapPackage * > * children

An immutable list of the children of the map package if any exist, an empty list otherwise.

[readable, assign] NSString * englishTitle

The title of the package in English.

[readable, assign] NMAMapPackageInstallation  installationStatus

Indicates whether or not this NMAMapPackage is currently installed on disk.

[readable, assign] NSInteger packageId

The unique ID of the map package. This is used to identify map packages for install/uninstall operations.

[readable, weak] NMAMapPackageparent

The parent of the map package if one exists, nil otherwise.

[readable, assign] long sizeOnDisk

The maximum size (in KB) the map package will take up on disk.

Note:

Actual install size may be smaller when multiple packages are installed.

[readable, assign] NSString * title

The human readable title of the map package. The language of the title string is dependent upon the device locale.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly