SafetyLocationMarkerStyle
public struct SafetyLocationMarkerStyle
A container for the start, end, and background images of safety location markers.
Important
This stylization API is intended to be used for only the turn-by-turn navigation.Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes a new
SafetyLocationMarkerStyleinstance with the specified values.Declaration
Parameters
startIconImageThe image of the start marker for a safety location.
endIconImageAn optional image of the end marker for a safety location representing a zone. Default value is
nil.startPinImageAn optional background image for the safety location’s marker without speed limit. Default value is
nil.speedLimitPinImageAn optional background image for the safety location’s marker with speed limit. Default value is
nil.endPinImageAn optional background image of the end marker for a safety location representing a zone. Default value is
nil.textStyleText style to visualize the safety location speed limits. Default values are the ones in
Defaults/TextStyle.
-
The image of the start marker for a safety location.
Declaration
Swift
public let startIconImage: UIImage -
An optional image of the end marker for a safety location representing a zone. Default value is
nil.Declaration
Swift
public let endIconImage: UIImage? -
An optional background image for the safety location’s marker without a speed limit. Default value is
nil.Declaration
Swift
public let startPinImage: UIImage? -
An optional background image for the safety location’s marker with a speed limit. Default value is
nil.Declaration
Swift
public let speedLimitPinImage: UIImage? -
An optional background image of the end marker for a safety location representing a zone. Default value is
nil.Declaration
Swift
public let endPinImage: UIImage? -
Text style to visualize the safety location speed limits. Default values are the ones in
Defaults/TextStyle.Declaration
Swift
public let textStyle: TextStyle?
TomTom SDK for iOS (TomTomSDKMapMatchingEngineHybrid 0.38.0-rc01 Docs)
SafetyLocationMarkerStyle