VPSLocationSourceConfig
Interface: VPSLocationSourceConfig
Configuration options for VPSLocationSource
Extends
LocationSourceOptions
Properties
maxAngleBearing?
optionalmaxAngleBearing:number
Maximum angle difference in radians between bearing and route direction
Inherited from
LocationSourceOptions.maxAngleBearing
maxDistance?
optionalmaxDistance:number
Maximum distance in meters from route to consider a match
Inherited from
LocationSourceOptions.maxDistance
minDistance?
optionalminDistance:number
Minimum distance in meters from route to consider a match
Inherited from
LocationSourceOptions.minDistance
useOrientationMatching?
optionaluseOrientationMatching:boolean
Whether to use orientation matching (defaults to true)
Inherited from
LocationSourceOptions.useOrientationMatching
usePositionSmoother?
optionalusePositionSmoother:boolean
Whether to use position smoothing (defaults to true)
Inherited from
LocationSourceOptions.usePositionSmoother
useStrict?
optionaluseStrict:boolean
Whether to use strict map matching (defaults to false)
Inherited from
LocationSourceOptions.useStrict
vps?
optionalvps:object
VPS-specific configuration options
backgroundScan?
optionalbackgroundScan:boolean
If true, automatically start a new scan 30s after the last scan if no scan was triggered in between
backgroundScanIntervalMs?
optionalbackgroundScanIntervalMs:number
Interval in ms before triggering a background scan when no scan was triggered (default: 30000)
degradedLocationStateThreshold?
optionaldegradedLocationStateThreshold:number
Threshold for degraded location state (default: 50m)
noPositioningLocationStateThreshold?
optionalnoPositioningLocationStateThreshold:number
Threshold for no positioning location state (default: 100m)