getRoadsDescriptionFromFov

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

gridState

The current GridState which is the state of the downloaded tiles

userGeometry

This includes location, heading and other data

approach

The algorithm used to pick the best intersection.