Skip to main content

UserLocationLayerOptions

wemap-sdk-js


Type Alias: UserLocationLayerOptions

UserLocationLayerOptions = object

Properties

accuracyRing?

optional accuracyRing?: boolean | AccuracyRingOptions

Draw a translucent geographic circle around the position representing its horizontal accuracy (from UserLocationUpdate.accuracy). Off by default. Pass true for themed defaults, or an object to customise the styling. The ring follows the same level visibility as the marker and stays ground-anchored under zoom and tilt.


followOnFirstFix?

optional followOnFirstFix?: boolean

When true, fly to the first valid position once (preserving the current zoom). When false (default), the camera does not move on the first fix.


showHeading?

optional showHeading?: boolean

Show the heading cone when attitude data is available. Default true.