YMKMapObjectCollectionListener

@protocol YMKMapObjectCollectionListener <NSObject>

The map object collection can't be modified in callbacks. A runtime::RuntimeError exception is thrown if this happens.

Summary

Instance methods

- (void)onMapObjectAddedWithMapObject:(nonnull YMKMapObject *)mapObject;
Called every time a new map object is added to the collection

- (void)onMapObjectRemovedWithMapObject:(nonnull YMKMapObject *)mapObject;
Called every time a map object is removed from the collection

Instance methods

onMapObjectAddedWithMapObject:

- (void)onMapObjectAddedWithMapObject:(nonnull YMKMapObject *)mapObject;

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


onMapObjectRemovedWithMapObject:

- (void)onMapObjectRemovedWithMapObject:(nonnull YMKMapObject *)mapObject;

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