YMKMapObjectCollectionListener

protocol YMKMapObjectCollectionListener : 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: YMKMapObject)
Called every time a new map object is added to the collection

func onMapObjectRemoved(with mapObject: YMKMapObject)
Called every time a map object is removed from the collection

Instance methods

onMapObjectAdded(with:)

func onMapObjectAdded(with mapObject: YMKMapObject)

Called every time a new map object is added to the collection.


onMapObjectRemoved(with:)

func onMapObjectRemoved(with mapObject: YMKMapObject)

Called every time a map object is removed from the collection.


Предыдущая
Следующая