MMKMapObjectCollectionListener
protocol MMKMapObjectCollectionListener : NSObjectProtocol |
The map object collection can't be modified in callbacks. A runtime::RuntimeError exception is thrown if this happens.
Summary
Instance methods
func onMapObjectAdded(with mapObject: MMKMapObject) |
func onMapObjectRemoved(with mapObject: MMKMapObject) |
Instance methods
onMapObjectAdded(with:)
func onMapObjectAdded(with mapObject: MMKMapObject) |
Called every time a new map object is added to the collection.
onMapObjectRemoved(with:)
func onMapObjectRemoved(with mapObject: MMKMapObject) |
Called every time a map object is removed from the collection.