HERE iOS SDK Developer's Guide

NMACustomizableVariable

Class Summary

class NMACustomizableVariable

Derived from: NSObject

Represents a map customization property.

Include: NMAKit.framework/headers/NMACustomizableVariable.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACustomizableVariable

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSInteger  propertyIdentifier

Returns the property identifier (id of NMASchemeColorProperty, or NMASchemeFloatProperty, etc

[readable, assign] NMACustomizablePropertyType   propertyType

Returns the type of property (e

[readable, writable, strong] NSString *  variableName

[readable, writable, assign] float  zoomLevel

Deprecated: This property is deprecated as of NMA SDK 3.4. Please use get methods of NMACustomizableScheme instead.

[readable, writable, strong] NMAZoomRange zoomRange

Deprecated: This property is deprecated as of NMA SDK 3.4. Please use set methods of NMACustomizableScheme class instead.

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Instances of this class should not be initialized

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull NSDictionary< NSString *, NMACustomizableVariable * > *) allAvailableProperties

+(nonnull instancetype) new

Class Details

Represents a map customization property.

Public Property Details

[readable, assign] NSInteger propertyIdentifier

Returns the property identifier (id of NMASchemeColorProperty, or NMASchemeFloatProperty, etc.)

[readable, assign] NMACustomizablePropertyType  propertyType

Returns the type of property (e.g.: integer, float, color, font style, ..)

[readable, writable, strong] NSString * variableName

Returns a string representation of the property

[readable, writable, assign] float zoomLevel

Deprecated: This property is deprecated as of NMA SDK 3.4. Please use get methods of NMACustomizableScheme instead.

When reading a property, this property indicates the respective zoom level

Note:

This property is only relevant when READING a custom property

[readable, writable, strong] NMAZoomRangezoomRange

Deprecated: This property is deprecated as of NMA SDK 3.4. Please use set methods of NMACustomizableScheme class instead.

Returns the zoom level range where this variable customization will be applicable to

Note:

This property is only relevant when SETTING a custom property

Instance Method Details

-(nonnull instancetype) init

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

Class Method Details

+(nonnull NSDictionary< NSString *, NMACustomizableVariable * > *) allAvailableProperties

Utility method which returns a dictionary with all available customizable properties, where the key is the respective property name, and the object an NMACustomizableVariable

Note:

Read NMACustomizableVariable's propertyType to find out whether it is a NMACustomizableVariable, NMACustomizableColor, and so on.

Note:

This method is useful for example to iterate over all available properties programatically

+(nonnull instancetype) new

Instances of this class should not be initialized directly