MMKMapObjectVisitor
@protocol MMKMapObjectVisitor <NSObject> |
Used to traverse over the children of the MapObjectCollection.
Summary
Instance methods
- (void)onPlacemarkVisitedWithPlacemark: |
- (void)onPolylineVisitedWithPolyline:(nonnull MMKPolylineMapObject *)polyline; |
- (void)onPolygonVisitedWithPolygon:(nonnull MMKPolygonMapObject *)polygon; |
- (void)onCircleVisitedWithCircle:(nonnull MMKCircleMapObject *)circle; |
- (BOOL)onCollectionVisitStartWithCollection: |
- (void)onCollectionVisitEndWithCollection: |
- (BOOL)onClusterizedCollectionVisitStartWithCollection: |
- (void)onClusterizedCollectionVisitEndWithCollection: |
Instance methods
onPlacemarkVisitedWithPlacemark:
- (void)onPlacemarkVisitedWithPlacemark: |
Called when a placemark is visited.
onPolylineVisitedWithPolyline:
- (void)onPolylineVisitedWithPolyline:(nonnull MMKPolylineMapObject *)polyline; |
Called when a polyline is visited.
onPolygonVisitedWithPolygon:
- (void)onPolygonVisitedWithPolygon:(nonnull MMKPolygonMapObject *)polygon; |
Called when a polygon is visited.
onCircleVisitedWithCircle:
- (void)onCircleVisitedWithCircle:(nonnull MMKCircleMapObject *)circle; |
Called when a circle is visited.
onCollectionVisitStartWithCollection:
- (BOOL)onCollectionVisitStartWithCollection: |
Called for every child collection. The collection is ignored if this method returns false.
onCollectionVisitEndWithCollection:
- (void)onCollectionVisitEndWithCollection: |
Called for visited collections only. If an exception occurred during the visit, the method might be skipped.
onClusterizedCollectionVisitStartWithCollection:
- (BOOL)onClusterizedCollectionVisitStartWithCollection: |
Called for clusterized placemark collection. The collection is ignored if this method returns false.
onClusterizedCollectionVisitEndWithCollection:
- (void)onClusterizedCollectionVisitEndWithCollection: |
Called for visited clusterized placemark collections only. If an exception occurred during the visit, the method might be skipped.