Class YMKCluster

Instance Methods

Properties

appearance

Cluster representation displayed on the map.

placemarks

A list of placemarks the cluster contains.

size

Cluster size.

valid

Tells if this object is valid or no.

Method Detail

-addClusterTapListenerWithClusterTapListener:

- (void)addClusterTapListenerWithClusterTapListener:(nonnull id< YMKClusterTapListener >)clusterTapListener 

Adds a tap listener for cluster.

-removeClusterTapListenerWithClusterTapListener:

- (void)removeClusterTapListenerWithClusterTapListener:(nonnull id< YMKClusterTapListener >)clusterTapListener 

Removes tap listener.

Property Detail

appearance

(assign, readonly) YMKPlacemarkMapObject * appearance

Cluster representation displayed on the map.

placemarks

(assign, readonly) NSArray< YMKPlacemarkMapObject * > * placemarks

A list of placemarks the cluster contains.

size

(assign, readonly) NSUInteger size

Cluster size.

valid

(assign, readonly, getter=isValid) BOOL valid

Tells if this object is valid or no.

Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.