Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Represents an interface for position update listeners.

Functions

Link copied to clipboard
Link copied to clipboard
fun getRoads(roadIds: List<RoadId>, listener: RoadsListener, executor: Executor? = null)

Provides details for set of roads.

Link copied to clipboard

Provides current tunnel position mode asynchronously.

Link copied to clipboard
fun match(positions: List<GeoCoordinates>, listener: PositionManager.OnMapMatchingMatched, executor: Executor? = null, precisions: List<Double> = emptyList(), timestamps: List<Long> = emptyList())

Map matching algorithm, tries to create continuous road sequence of roads representing provided polyline

Link copied to clipboard
Link copied to clipboard
fun projectMatchedGeometry(positions: List<GeoCoordinates>, matchedRoadIds: List<RoadId>, tolerance: Int, listener: PositionManager.OnMatchedGeometryProjected, executor: Executor? = null)

Snap provided geometry to road sequence.

Link copied to clipboard
fun setCustomPositionUpdater(customPositionUpdater: CustomPositionUpdater?)

Sets the custom position data source which can be used for custom position updates GPS location updates will be automatically disabled. To enable call startPositionUpdating()

Link copied to clipboard

Set current tunnel position mode asynchronously.

Link copied to clipboard

Starts location updates from device GPS

Link copied to clipboard

Stops location updates from device GPS

Properties

Link copied to clipboard

Returns the last known position.