• NavigationMapView is a subclass of MGLMapView with convenience functions for adding Route lines to a map.

    See more

    Declaration

    Swift

    @objc(MBNavigationMapView)
    open class NavigationMapView : MGLMapView, UIGestureRecognizerDelegate
  • The NavigationMapViewDelegate provides methods for configuring the NavigationMapView, as well as responding to events triggered by the NavigationMapView.

    See more

    Declaration

    Swift

    @objc(MBNavigationMapViewDelegate)
    public protocol NavigationMapViewDelegate : AnyObject
  • An extension on MGLMapView that allows for toggling traffic on a map style that contains a Mapbox Traffic source.

    See more

    Declaration

    Swift

    extension MGLMapView