Interface MapObjectCollectionListener
Package world.mappable.mapkit.map
interface MapObjectCollectionListener
The map object collection can't be modified in callbacks.
A runtime::RuntimeError exception is thrown if this happens.
Summary
Methods
|
Type and modifiers |
Method and Description |
|
void |
onMapObjectAdded(@NonNull MapObject mapObject) |
|
void |
onMapObjectRemoved(@NonNull MapObject mapObject) |
Methods
onMapObjectAdded
|
@UiThread |
Called every time a new map object is added to the collection.
onMapObjectRemoved
|
@UiThread |
Called every time a map object is removed from the collection.