HERE iOS SDK Developer's Guide

NMABasicClusterStyle

Class Summary

class NMABasicClusterStyle

Derived from: NMAClusterStyle

Basic implementation of NMAClusterStyle.

Include: NMAKit.framework/headers/NMABasicClusterStyle.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMABasicClusterStyle

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] UIColor *  fillColor

Fill color of cluster marker

[readable, writable, assign] UIColor *  fontColor

Color of the font used for rendering cluster marker

[readable, writable, assign] UIColor *  strokeColor

Stroke color of cluster marker

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

-(nonnull instancetype) initWithStrokeColor:(nonnull UIColor *) stroke fillColor:(nonnull UIColor *) fill fontColor:(nonnull UIColor *) font

Initializes a NMABasicClusterStyle instance with the specified colors

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) style

Constructs a NMABasicClusterStyle with default values

+(nonnull instancetype) styleWithStrokeColor:(nonnull UIColor *) stroke fillColor:(nonnull UIColor *) fill fontColor:(nonnull UIColor *) font

Constructs a NMABasicClusterStyle with the specified colors

Class Details

Basic implementation of NMAClusterStyle. Use it if some customization needs be applied to this style. Please see the API of this class for the list of customizable properties.

Public Property Details

[readable, writable, assign] UIColor * fillColor

Fill color of cluster marker.

[readable, writable, assign] UIColor * fontColor

Color of the font used for rendering cluster marker.

[readable, writable, assign] UIColor * strokeColor

Stroke color of cluster marker.

Instance Method Details

-(nonnull instancetype) init

Initialize a NMABasicClusterStyle instance

-(nonnull instancetype) initWithStrokeColor:(nonnull UIColor *) stroke fillColor:(nonnull UIColor *) fill fontColor:(nonnull UIColor *) font

Initializes a NMABasicClusterStyle instance with the specified colors.

Parameters:

  • stroke

    Stroke color of cluster marker.

  • fill

    Fill color of cluster marker.

  • font

    Color of the font used for rendering cluster marker.

Class Method Details

+(nonnull instancetype) style

Constructs a NMABasicClusterStyle with default values.

+(nonnull instancetype) styleWithStrokeColor:(nonnull UIColor *) stroke fillColor:(nonnull UIColor *) fill fontColor:(nonnull UIColor *) font

Constructs a NMABasicClusterStyle with the specified colors.

Parameters:

  • stroke

    Stroke color of cluster marker.

  • fill

    Fill color of cluster marker.

  • font

    Color of the font used for rendering cluster marker.