MMKNavigationRouteStyle

class MMKNavigationRouteStyle : NSObject

Undocumented

Summary

Instance methods

func setShowRouteWithShowRoute(_ showRoute: Bool)
Show or hide route

func setShowJamsWithShowJams(_ showJams: Bool)
Enable or disable traffic jams along route

func setShowBalloonsWithShowBalloons(_ showBalloons: Bool)
Show balloons related to the route

func setShowRoadEventsWithShowRoadEvents(_ showRoadEvents: Bool)
Enable or disable road events on the route

func setShowTrafficLightsWithShowTrafficLights(_ showTrafficLights: Bool)
Show traffic lights along the route

func setShowCheckpointsWithShowCheckpoints(_ showCheckpoints: Bool)
Show checkpoints along the route

func setShowRailwayCrossingsWithShowRailwayCrossings(_ showRailwayCrossings: Bool)
Show railway crossings along the route

func setShowSpeedBumpsWithShowSpeedBumps(_ showSpeedBumps: Bool)
Show railway crossings along the route

func setShowRoadsInPoorConditionWithShowRoadsInPoorCondition(_ showRoadsInPoorCondition: Bool)
Show roads in poor condition along the route

func setShowManoeuvresWithShowManoeuvres(_ showManoeuvres: Bool)
Show manoeuvre arrows along the route

func setShowTollRoadsWithShowTollRoads(_ showTollRoads: Bool)
Show toll roads along the route

func setShowRestrictedEntriesWithShowRestrictedEntries(_ showRestrictedEntries: Bool)
Show restricted entries along the route

Properties

var isValid: Bool { get }
Tells if this object is valid or no

Instance methods

setShowRouteWithShowRoute(_:)

func setShowRouteWithShowRoute(_ showRoute: Bool)

Show or hide route. Enabled by default. Setting it to false will not hide balloons, road events, traffic lights. Hide it manually if needed.


setShowJamsWithShowJams(_:)

func setShowJamsWithShowJams(_ showJams: Bool)

Enable or disable traffic jams along route. Enabled by default. Unless this is disabled, MapKit forces palette and colors values in routePolyline to draw jams on route. When disabled, you are free to change the routes' colors.


setShowBalloonsWithShowBalloons(_:)

func setShowBalloonsWithShowBalloons(_ showBalloons: Bool)

Show balloons related to the route. Enabled by default.


setShowRoadEventsWithShowRoadEvents(_:)

func setShowRoadEventsWithShowRoadEvents(_ showRoadEvents: Bool)

Enable or disable road events on the route. Disabled by default.


setShowTrafficLightsWithShowTrafficLights(_:)

func setShowTrafficLightsWithShowTrafficLights(_ showTrafficLights: Bool)

Show traffic lights along the route. Disabled by default.


setShowCheckpointsWithShowCheckpoints(_:)

func setShowCheckpointsWithShowCheckpoints(_ showCheckpoints: Bool)

Show checkpoints along the route. Disabled by default.


setShowRailwayCrossingsWithShowRailwayCrossings(_:)

func setShowRailwayCrossingsWithShowRailwayCrossings(_ showRailwayCrossings: Bool)

Show railway crossings along the route. Disabled by default.


setShowSpeedBumpsWithShowSpeedBumps(_:)

func setShowSpeedBumpsWithShowSpeedBumps(_ showSpeedBumps: Bool)

Show railway crossings along the route. Disabled by default.


setShowRoadsInPoorConditionWithShowRoadsInPoorCondition(_:)

func setShowRoadsInPoorConditionWithShowRoadsInPoorCondition(_ showRoadsInPoorCondition: Bool)

Show roads in poor condition along the route. Disabled by default.


setShowManoeuvresWithShowManoeuvres(_:)

func setShowManoeuvresWithShowManoeuvres(_ showManoeuvres: Bool)

Show manoeuvre arrows along the route. Disabled by default.


setShowTollRoadsWithShowTollRoads(_:)

func setShowTollRoadsWithShowTollRoads(_ showTollRoads: Bool)

Show toll roads along the route. Disabled by default.


setShowRestrictedEntriesWithShowRestrictedEntries(_:)

func setShowRestrictedEntriesWithShowRestrictedEntries(_ showRestrictedEntries: Bool)

Show restricted entries along the route. Disabled by default.


Properties

isValid

var isValid: Bool { get }

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.