get Roads Description From Fov
fun getRoadsDescriptionFromFov(gridState: GridState, userGeometry: GeoEngine.UserGeometry, approach: ComplexIntersectionApproach): RoadsDescription
getRoadsDescriptionFromFov returns a description of the nearestRoad and also the 'best' intersection within the field of view. The description includes the roads that join the intersection, the location of the intersection and the name of the intersection.
Return
An IntersectionDescription containing all the data required for callouts to describe the intersection.
Parameters
grid State
The current GridState which is the state of the downloaded tiles
user Geometry
This includes location, heading and other data
approach
The algorithm used to pick the best intersection.