YMKMapObjectVisitor
protocol YMKMapObjectVisitor : NSObjectProtocol |
Used to traverse over the children of the MapObjectCollection.
Summary
Instance methods
func onPlacemarkVisited(withPlacemark placemark: YMKPlacemarkMapObject) |
func onPolylineVisited(withPolyline polyline: YMKPolylineMapObject) |
func onPolygonVisited(withPolygon polygon: YMKPolygonMapObject) |
func onCircleVisited(withCircle circle: YMKCircleMapObject) |
func onCollectionVisitStart(with collection: YMKMapObjectCollection) -> Bool |
func onCollectionVisitEnd(with collection: YMKMapObjectCollection) |
func onClusterizedCollectionVisitStart(with collection: YMKClusterizedPlacemarkCollection) -> Bool |
func onClusterizedCollectionVisitEnd(with collection: YMKClusterizedPlacemarkCollection) |
Instance methods
onPlacemarkVisited(withPlacemark:)
func onPlacemarkVisited(withPlacemark placemark: YMKPlacemarkMapObject) |
Called when a placemark is visited.
onPolylineVisited(withPolyline:)
func onPolylineVisited(withPolyline polyline: YMKPolylineMapObject) |
Called when a polyline is visited.
onPolygonVisited(withPolygon:)
func onPolygonVisited(withPolygon polygon: YMKPolygonMapObject) |
Called when a polygon is visited.
onCircleVisited(withCircle:)
func onCircleVisited(withCircle circle: YMKCircleMapObject) |
Called when a circle is visited.
onCollectionVisitStart(with:)
func onCollectionVisitStart(with collection: YMKMapObjectCollection) -> Bool |
Called for every child collection. The collection is ignored if this method returns false.
onCollectionVisitEnd(with:)
func onCollectionVisitEnd(with collection: YMKMapObjectCollection) |
Called for visited collections only. If an exception occurred during the visit, the method might be skipped.
onClusterizedCollectionVisitStart(with:)
func onClusterizedCollectionVisitStart(with collection: YMKClusterizedPlacemarkCollection) -> Bool |
Called for clusterized placemark collection. The collection is ignored if this method returns false.
onClusterizedCollectionVisitEnd(with:)
func onClusterizedCollectionVisitEnd(with collection: YMKClusterizedPlacemarkCollection) |
Called for visited clusterized placemark collections only. If an exception occurred during the visit, the method might be skipped.