Skip to main content

UserLocationUpdate

wemap-sdk-js


Type Alias: UserLocationUpdate

UserLocationUpdate = object

Input to UserLocationLayer.update.

Structurally compatible with Pose from @wemap/positioning without importing it.

Properties​

accuracy?​

optional accuracy?: number | null

Horizontal accuracy in metres. When the accuracy ring is enabled (see UserLocationLayerOptions.accuracyRing) it is drawn as a circle of this radius. Omitted updates keep the previous radius; null clears it.


attitude?​

optional attitude?: UserLocationAttitude


position?​

optional position?: LatLngLike