Package-level declarations

Types

Link copied to clipboard
data class RoadsDescription(val nearestRoad: Feature? = null, val userGeometry: GeoEngine.UserGeometry = GeoEngine.UserGeometry(), val intersection: Feature? = null, val intersectionRoads: FeatureCollection = FeatureCollection())

Functions

Link copied to clipboard
fun addIntersectionCalloutFromDescription(description: RoadsDescription, localizedContext: Context, results: MutableList<PositionedString>, calloutHistory: CalloutHistory? = null)

addIntersectionCalloutFromDescription adds a callout to the results list for the intersection described in the parameters. This will become more configurable e.g. whether to include the distance or not.

Link copied to clipboard

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.