MMKNavigationRouteStyle
- Summary
- Instance methods
- setShowRouteWithShowRoute(_:)
- setShowJamsWithShowJams(_:)
- setShowBalloonsWithShowBalloons(_:)
- setShowRoadEventsWithShowRoadEvents(_:)
- setShowTrafficLightsWithShowTrafficLights(_:)
- setShowCheckpointsWithShowCheckpoints(_:)
- setShowRailwayCrossingsWithShowRailwayCrossings(_:)
- setShowSpeedBumpsWithShowSpeedBumps(_:)
- setShowRoadsInPoorConditionWithShowRoadsInPoorCondition(_:)
- setShowManoeuvresWithShowManoeuvres(_:)
- setShowTollRoadsWithShowTollRoads(_:)
- setShowRestrictedEntriesWithShowRestrictedEntries(_:)
- Properties
class MMKNavigationRouteStyle : NSObject |
Undocumented
Summary
Instance methods
func setShowRouteWithShowRoute(_ showRoute: Bool) |
func setShowJamsWithShowJams(_ showJams: Bool) |
func setShowBalloonsWithShowBalloons(_ showBalloons: Bool) |
func setShowRoadEventsWithShowRoadEvents(_ showRoadEvents: Bool) |
func setShowTrafficLightsWithShowTrafficLights(_ showTrafficLights: Bool) |
func setShowCheckpointsWithShowCheckpoints(_ showCheckpoints: Bool) |
func setShowRailwayCrossingsWithShowRailwayCrossings(_ showRailwayCrossings: Bool) |
func setShowSpeedBumpsWithShowSpeedBumps(_ showSpeedBumps: Bool) |
func setShowRoadsInPoorConditionWithShowRoadsInPoorCondition(_ showRoadsInPoorCondition: Bool) |
func setShowManoeuvresWithShowManoeuvres(_ showManoeuvres: Bool) |
func setShowTollRoadsWithShowTollRoads(_ showTollRoads: Bool) |
func setShowRestrictedEntriesWithShowRestrictedEntries(_ showRestrictedEntries: Bool) |
Properties
var isValid: Bool { get } |
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.