Home > @magiclane/maps-sdk > MapViewExtensions > startTrackPositions
MapViewExtensions.startTrackPositions() method
Start the sense data source improved position tracking on map by rendering a marker polyline between relevant map links points
Signature:
startTrackPositions(input: {
updatePositionMs: number;
settings: MarkerCollectionRenderSettings;
dataSource?: DataSource;
}): GemError;Parameters
Parameter | Type | Description |
|---|---|---|
{ updatePositionMs, settings, dataSource, } | (not declared) | |
input | { updatePositionMs: number; settings: MarkerCollectionRenderSettings; dataSource?: DataSource; } |
input properties:
- updatePositionMs: number
- settings: MarkerCollectionRenderSettings
- Optional dataSource?: DataSource
Returns:
GemError
GemError.success on success. - GemError.notFound when called without a specific datasource and there is no data source in PositionService. - Other GemError values for other errors
Exceptions
An exception if it fails.