MMKCluster
@interface MMKCluster : NSObject |
Undocumented
Summary
Instance methods
- (void)addClusterTapListenerWithClusterTapListener: |
- (void)removeClusterTapListenerWithClusterTapListener: |
Properties
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly) NSUInteger size; |
@property (nonatomic, readonly, nonnull) MMKPlacemarkMapObject *appearance; |
@property (nonatomic, readonly, getter=isValid) BOOL valid; |
Instance methods
addClusterTapListenerWithClusterTapListener:
- (void)addClusterTapListenerWithClusterTapListener: |
Adds a tap listener for cluster.
The class does not retain the object in the 'clusterTapListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
removeClusterTapListenerWithClusterTapListener:
- (void)removeClusterTapListenerWithClusterTapListener: |
Removes tap listener.
Properties
placemarks
@property (nonatomic, readonly, nonnull) |
A list of placemarks the cluster contains.
size
@property (nonatomic, readonly) NSUInteger size; |
Cluster size.
appearance
@property (nonatomic, readonly, nonnull) MMKPlacemarkMapObject *appearance; |
Cluster representation displayed on the map.
valid
@property (nonatomic, 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.