SafetyLocationMarkerStyle

class SafetyLocationMarkerStyle(val startIconImage: Image, val startPinImage: Image? = null, val speedLimitPinImage: Image? = null, val endIconImage: Image? = null, val endPinImage: Image? = null, val textStyle: TextStyle? = TextStyle())

Represents the style used to display safety locations markers.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(startIconImage: Image, startPinImage: Image? = null, speedLimitPinImage: Image? = null, endIconImage: Image? = null, endPinImage: Image? = null, textStyle: TextStyle? = TextStyle())

Properties

Link copied to clipboard
val endIconImage: Image? = null

An optional foreground image of the end marker for a safety location representing a zone.

Link copied to clipboard
val endPinImage: Image? = null

An optional background image of the end marker for a safety location representing a zone.

Link copied to clipboard

An optional background image for the safety location's marker with a speed limit. This property will be ignored because speed limit on the safety location marker has been disabled. It will be re-enabled on the scope of NAV-164345.

Link copied to clipboard

The image of the start marker for a safety location.

Link copied to clipboard
val startPinImage: Image? = null

An optional background image for the safety location's marker without a speed limit.

Link copied to clipboard

Text style to visualize the safety location speed limits. Default values are the ones in TextStyle.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String