HERE iOS SDK Developer's Guide

NMAClusterTheme

Class Summary

class NMAClusterTheme

Derived from: NSObject

This class contains information about styles for given density ranges.

Include: NMAKit.framework/headers/NMAClusterTheme.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAClusterTheme

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

-(BOOL) setStyle:(nonnull NMAClusterStyle *) style forDensityRange:(NSRange) range

Adds an array of markers to this layer

Class Method Summary

Table 2. Class Methods
Class Methods

+(nonnull instancetype) clusterTheme

Constructs an empty NMAClusterTheme

Class Details

This class contains information about styles for given density ranges. Density represents the number of markers inside a cluster.

Instance Method Details

-(nonnull instancetype) init

Initialize a NMAClusterTheme instance

-(BOOL) setStyle:(nonnull NMAClusterStyle *) style forDensityRange:(NSRange) range

Adds an array of markers to this layer.

Parameters:

  • style

    Style that should be used for given range.

  • range

    Density range, minimum allowed start location is 2.

Returns:

YES if valid range and style was provided, NO otherwise.

Class Method Details

+(nonnull instancetype) clusterTheme

Constructs an empty NMAClusterTheme.