onPositionUpdated

abstract fun onPositionUpdated(position: EHorizonPosition, distances: List<RoadObjectDistanceInfo>)

This callback might be called multiple times when the position changes.

Parameters

position

current electronic horizon position (map matched position + e-horizon tree)

distances

a list of RoadObjectDistanceInfo for upcoming road objects