MMKMapObjectCollectionListener
@protocol MMKMapObjectCollectionListener <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 MMKMapObject *)mapObject; |
- (void)onMapObjectRemovedWithMapObject:(nonnull MMKMapObject *)mapObject; |
Instance methods
onMapObjectAddedWithMapObject:
- (void)onMapObjectAddedWithMapObject:(nonnull MMKMapObject *)mapObject; |
Called every time a new map object is added to the collection.
onMapObjectRemovedWithMapObject:
- (void)onMapObjectRemovedWithMapObject:(nonnull MMKMapObject *)mapObject; |
Called every time a map object is removed from the collection.