HERE iOS SDK Developer's Guide

NMACustomConfigurations

Class Summary

class NMACustomConfigurations

Derived from: NSObject

.

Include: NMAKit.framework/headers/NMACustomConfigurations.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACustomConfigurations

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Instances of this class should not be initialized

Class Method Summary

Table 2. Class Methods
Class Methods

+(nonnull instancetype) new

+( NMAMapStyleConfigurationError ) setCustomConfiguration:(nonnull NSDictionary< NSString *, NSURL * > *) configFiles

Set a custom map style configuration.

Class Details

Use this interface to set custom configurations

Note:

This API should only be used in consultation with HERE technical support.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized. Call class methods only.

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly

+( NMAMapStyleConfigurationError ) setCustomConfiguration:(nonnull NSDictionary< NSString *, NSURL * > *) configFiles

Set a custom map style configuration.

Note:

Setting of any type of configuration should be made before the HERE SDK is initialized. NMAMapViewConfigurationFileKey config must always be set together with NMAMapViewResourceFileKey

Note:

the result of NMAMapStyleConfigurationErrorNone doesn't mean that everything is good to go. If Map Style configuration or resource files cannot be used for some reason the result of NMAMapView instantiation is nil. If an invalid traffic configuration is set the results are undefined. Do not attempt to set a configuration file without consultation with HERE technical support.

Parameters:

  • configFiles

    NSDictionary's keys that you can apply are NMAMapViewConfigurationFileKey, NMAMapViewResourceFileKey, NMAMapViewTrafficConfigurationFileKey, NMAMapViewCustomPreferenceConfigurationFileKey

Returns:

error NMAMapStyleConfigurationErrorNone if no error occured, otherwise an error object of NMAMapStyleConfigurationError type indicating the failure reason.