HERE iOS SDK Developer's Guide

NMAImageClusterStyle

Class Summary

class NMAImageClusterStyle

Derived from: NMAClusterStyle

Implementation of NMAClusterStyle that uses NMAImage for specific cluster density.

Include: NMAKit.framework/headers/NMAImageClusterStyle.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAImageClusterStyle

[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 must initialized with an NMAImage

-(nullable instancetype) initWithImage:(nullable NMAImage *) image

Initializes a NMAImageClusterStyle instance with the given image

-(nullable instancetype) initWithUIImage:(nullable UIImage *) image

Initializes a NMAImageClusterStyle instance with the given image

Class Method Summary

Table 2. Class Methods
Class Methods

+(nonnull instancetype) new

Instances of this class must initialized with an NMAImage

+(nullable instancetype) styleWithImage:(nullable NMAImage *) image

Constructs a NMAImageClusterStyle with the given image

+(nullable instancetype) styleWithUIImage:(nullable UIImage *) image

Constructs a NMAImageClusterStyle with the given image

Class Details

Implementation of NMAClusterStyle that uses NMAImage for specific cluster density. Density represents the number of markers inside a cluster.

Instance Method Details

-(nonnull instancetype) init

Instances of this class must initialized with an NMAImage.

-(nullable instancetype) initWithImage:(nullable NMAImage *) image

Initializes a NMAImageClusterStyle instance with the given image.

Parameters:

  • image

    NMAImage instance to be used for this style.

-(nullable instancetype) initWithUIImage:(nullable UIImage *) image

Initializes a NMAImageClusterStyle instance with the given image.

Parameters:

  • image

    UIImage instance to be used for this style.

Class Method Details

+(nonnull instancetype) new

Instances of this class must initialized with an NMAImage.

+(nullable instancetype) styleWithImage:(nullable NMAImage *) image

Constructs a NMAImageClusterStyle with the given image.

Parameters:

  • image

    NMAImage instance to be used for this style.

+(nullable instancetype) styleWithUIImage:(nullable UIImage *) image

Constructs a NMAImageClusterStyle with the given image.

Parameters:

  • image

    UIImage instance to be used for this style.