MGLMapView
class MGLMapView : UIView
An extension on MGLMapView
that allows for toggling traffic on a map style that contains a Mapbox Traffic source.
-
Toggle traffic on a map style that contains a Mapbox Traffic source.
Declaration
Swift
public var showsTraffic: Bool