Skip to main content

LocationSourceOptions

wemap-sdk-js


Interface: LocationSourceOptions

Base options for location sources

Extends​

Extended by​

Properties​

maxAngleBearing?​

optional maxAngleBearing?: number

Maximum angle difference in radians between bearing and route direction

Inherited from​

MapMatchingOptions.maxAngleBearing


maxDistance?​

optional maxDistance?: number

Maximum distance in meters from route to consider a match

Inherited from​

MapMatchingOptions.maxDistance


useOrientationMatching?​

optional useOrientationMatching?: boolean

Whether to use orientation matching (defaults to true)

Inherited from​

MapMatchingOptions.useOrientationMatching


usePositionSmoother?​

optional usePositionSmoother?: boolean

Whether to use position smoothing (defaults to true)


useStrict?​

optional useStrict?: boolean

Whether to use strict map matching (defaults to false)

Inherited from​

MapMatchingOptions.useStrict