MMKCluster
class MMKCluster : NSObject |
Undocumented
Summary
Instance methods
func addClusterTapListener(with clusterTapListener: MMKClusterTapListener) |
func removeClusterTapListener(with clusterTapListener: MMKClusterTapListener) |
Properties
var placemarks: [MMKPlacemarkMapObject] { get } |
var size: UInt { get } |
var appearance: MMKPlacemarkMapObject { get } |
var isValid: Bool { get } |
Instance methods
addClusterTapListener(with:)
func addClusterTapListener(with clusterTapListener: MMKClusterTapListener) |
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.
removeClusterTapListener(with:)
func removeClusterTapListener(with clusterTapListener: MMKClusterTapListener) |
Removes tap listener.
Properties
placemarks
var placemarks: [MMKPlacemarkMapObject] { get } |
A list of placemarks the cluster contains.
size
var size: UInt { get } |
Cluster size.
appearance
var appearance: MMKPlacemarkMapObject { get } |
Cluster representation displayed on the map.
isValid
var isValid: Bool { get } |
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.