LocationMarkerOptions
data class LocationMarkerOptions(val type: LocationMarkerOptions.Type, @FloatRange(from = 0.0, fromInclusive = false) val markerMagnification: Double = DEFAULT_MAGNIFICATION, val animationDuration: Duration? = null, val customModel: Uri? = null)
Configures options for the location marker which visualizes the users location on the map.
See also: TomTomMap.enableLocationMarker(options: LocationMarkerOptions)
Constructors
Link copied to clipboard
constructor(type: LocationMarkerOptions.Type, @FloatRange(from = 0.0, fromInclusive = false) markerMagnification: Double = DEFAULT_MAGNIFICATION, animationDuration: Duration? = null, customModel: Uri? = null)
Types
Properties
Link copied to clipboard
The animation duration between location updates. If this is null, duration will be calculated at runtime.
Link copied to clipboard
The model url to use for a custom marker. The only supported format is glTF 2.0. The supported model file extension is the binary-based format (.glb), while the text-based format (.gltf) is not supported."
Link copied to clipboard
The magnification level to apply to the marker model.
Link copied to clipboard
The type of location marker, eg: chevron, pointer, custom.