Interface MapObjectVisitor
Package world.mappable.mapkit.map
interface MapObjectVisitor
Used to traverse over the children of the MapObjectCollection.
Summary
Methods
|
Type and modifiers |
Method and Description |
|
void |
onPlacemarkVisited(@NonNull PlacemarkMapObject placemark) |
|
void |
onPolylineVisited(@NonNull PolylineMapObject polyline) |
|
void |
onPolygonVisited(@NonNull PolygonMapObject polygon) |
|
void |
onCircleVisited(@NonNull CircleMapObject circle) |
|
boolean |
onCollectionVisitStart(@NonNull MapObjectCollection collection) |
|
void |
onCollectionVisitEnd(@NonNull MapObjectCollection collection) |
|
boolean |
onClusterizedCollectionVisitStart(@NonNull ClusterizedPlacemarkCollection collection) |
|
void |
onClusterizedCollectionVisitEnd(@NonNull ClusterizedPlacemarkCollection collection) |
Methods
onPlacemarkVisited
|
@UiThread |
Called when a placemark is visited.
onPolylineVisited
|
@UiThread |
Called when a polyline is visited.
onPolygonVisited
|
@UiThread |
Called when a polygon is visited.
onCircleVisited
|
@UiThread |
Called when a circle is visited.
onCollectionVisitStart
|
@UiThread |
Called for every child collection.
The collection is ignored if this method returns false.
onCollectionVisitEnd
|
@UiThread |
Called for visited collections only.
If an exception occurred during the visit, the method might be skipped.
onClusterizedCollectionVisitStart
|
@UiThread |
Called for clusterized placemark collection.
The collection is ignored if this method returns false.
onClusterizedCollectionVisitEnd
|
@UiThread |
Called for visited clusterized placemark collections only.
If an exception occurred during the visit, the method might be skipped.