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