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) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull) 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) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull) new

Instances of this class should not be initialized directly

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.