FUIMKRoutingMapViewDelegate

public protocol FUIMKRoutingMapViewDelegate : FUIMKMapViewDelegate

A protocol adopted by an object that plays as the delegate of FUIMKRoutingFloorplanViewController.

  • mapView(_:didSelectRouteAt:) Default implementation

    Tell the delegate that the route identified by the index was selected.

    Default Implementation

    Declaration

    Swift

    func mapView(_ mapView: MKMapView, didSelectRouteAt index: Int)

    Parameters

    mapView

    The map view object contains the route.

    index

    The index of the selected route.

  • Tell 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

    mapView

    The map view object contains the route stop.

    vertexIndex

    The index of the selected route stop.

    routeIndex

    The index of the route which contains this route stop.

  • mapView(_:didDeselectRouteAt:) Default implementation

    Tell the delegate that the route identified by the index was deselected.

    Default Implementation

    Declaration

    Swift

    func mapView(_ mapView: MKMapView, didDeselectRouteAt index: Int)

    Parameters

    mapView

    The map view object contains the route.

    index

    The index of the deselected route.

  • Tell 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

    mapView

    The map view object contains the route stop.

    vertexIndex

    The index of the deselected route stop.

    routeIndex

    The index of the route which contains this route stop.

  • mapView(_:willRender:forRouteAt:in:) Default implementation

    Tell 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

    mapView

    The map view object contains the overlay.

    overlayRenderer

    The overlay renderer which is the visual representation of the overlay.

    index

    The index of the route which contains this route segment.

    state

    The state of the route.

  • Tell 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

    mapView

    The map view object contains the annotation view.

    annotationView

    The annotation view which is the visual representation of the annotation.

    vertexIndex

    The index of the stop in this route.

    routeIndex

    The index of the route which contains this route stop.

    state

    The state of the route.