LocationMarkerOptions

fun LocationMarkerOptions(type: LocationMarkerOptions.Type, @FloatRange(from = 0.0, fromInclusive = false) markerMagnification: Double = DEFAULT_MAGNIFICATION, animationDuration: Duration? = null, customModel: String? = null)

Parameters

type

The type of location marker, eg: chevron, pointer, custom.

markerMagnification

The magnification level to apply to the marker model.

animationDuration

The animation duration between location updates. If this is null, duration will be calculated at runtime.

customModel

The model url to use for a custom marker. eg: "asset://mymodel.glb"