FUIMKRoutingMapViewDelegate
public protocol FUIMKRoutingMapViewDelegate : FUIMKMapViewDelegate
A protocol adopted by an object that plays as the delegate of FUIMKRoutingFloorplanViewController.
-
mapView(_:didSelectRouteAt:)Default implementationTell the delegate that the route identified by the index was selected.
Default Implementation
Declaration
Swift
func mapView(_ mapView: MKMapView, didSelectRouteAt index: Int)Parameters
mapViewThe map view object contains the route.
indexThe index of the selected route.
-
mapView(_:didSelectVertexAt:inRouteAt:)Default implementationTell the delegate that the route stop identified by the index was selected.
Default Implementation
Declaration
Swift
func mapView(_ mapView: MKMapView, didSelectVertexAt vertexIndex: Int, inRouteAt routeIndex: Int)Parameters
mapViewThe map view object contains the route stop.
vertexIndexThe index of the selected route stop.
routeIndexThe index of the route which contains this route stop.
-
mapView(_:didDeselectRouteAt:)Default implementationTell the delegate that the route identified by the index was deselected.
Default Implementation
Declaration
Swift
func mapView(_ mapView: MKMapView, didDeselectRouteAt index: Int)Parameters
mapViewThe map view object contains the route.
indexThe index of the deselected route.
-
mapView(_:didDeselectVertexAt:inRouteAt:)Default implementationTell the delegate that the route stop identified by the index was deselected.
Default Implementation
Declaration
Swift
func mapView(_ mapView: MKMapView, didDeselectVertexAt vertexIndex: Int, inRouteAt routeIndex: Int)Parameters
mapViewThe map view object contains the route stop.
vertexIndexThe index of the deselected route stop.
routeIndexThe index of the route which contains this route stop.
-
mapView(_:willRender:forRouteAt:in:)Default implementationTell the delegate that the route segment overlay is about to render on the map view.
Default Implementation
Declaration
Swift
func mapView(_ mapView: MKMapView, willRender overlayRenderer: MKOverlayRenderer, forRouteAt index: Int, in state: FUIMapFloorplan.State)Parameters
mapViewThe map view object contains the overlay.
overlayRendererThe overlay renderer which is the visual representation of the overlay.
indexThe index of the route which contains this route segment.
stateThe state of the route.
-
mapView(_:willRender:forVertexAtIndex:inRouteAt:in:)Default implementationTell the delegate that the route stop annotation view is about to render on the map view.
Default Implementation
Declaration
Swift
func mapView(_ mapView: MKMapView, willRender annotationView: MKAnnotationView, forVertexAtIndex vertexIndex: Int, inRouteAt routeIndex: Int, in state: FUIMapFloorplan.State)Parameters
mapViewThe map view object contains the annotation view.
annotationViewThe annotation view which is the visual representation of the annotation.
vertexIndexThe index of the stop in this route.
routeIndexThe index of the route which contains this route stop.
stateThe state of the route.