Package-level declarations

Types

Link copied to clipboard
abstract class Snap

This class handles calculating snapped position along the route. Latitude, longitude and bearing should be provided.

Link copied to clipboard
open class SnapToRoute : Snap

This attempts to snap the user to the closest position along the route. Prior to snapping the user, their location's checked to ensure that the user didn't veer off-route. If your application uses the MapLibre Map SDK, querying the map and snapping the user to the road grid might be a better solution.