HERE iOS SDK Developer's Guide

NMACustomizableColor

Class Summary

class NMACustomizableColor

Derived from: NMACustomizableVariable

Represents a map customization color property with red, green, blue components ranging from 0 to 255.

Include: NMAKit.framework/headers/NMACustomizableColor.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACustomizableColor

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] NSInteger  blue

[readable, writable, assign] NSInteger  green

[readable, writable, assign] NSInteger  red

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(UIColor *) color

Utility method to configure the color from an UIColor object

-(id) initWithColorProperty:( NMASchemeColorProperty ) property andZoomLevel:(float) zoomLevel andZoomRange:( NMAZoomRange *) zoomRange

-(void) setColor:(UIColor *) color

Utility method to configure the color from an UIColor object

Class Details

Represents a map customization color property with red, green, blue components ranging from 0 to 255.

Public Property Details

[readable, writable, assign] NSInteger blue

[readable, writable, assign] NSInteger green

[readable, writable, assign] NSInteger red

Instance Method Details

-(UIColor *) color

Utility method to configure the color from an UIColor object.

Note:

This property is only relevant when READING a custom property The alpha component of the returned UIColor is always 1.

-(id) initWithColorProperty:( NMASchemeColorProperty ) property andZoomLevel:(float) zoomLevel andZoomRange:( NMAZoomRange *) zoomRange

-(void) setColor:(UIColor *) color

Utility method to configure the color from an UIColor object.

Note:

This property is only relevant when SETTING a custom property The alpha component of UIColor is not considered

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.