PlaceMatch

data class PlaceMatch(val place: Place, val roadUse: Set<RoadUse> = emptySet(), val matchType: MatchType? = null, val geometry: Geometry? = null, val routeNumbers: List<String> = emptyList(), val speedLimit: Speed? = null, val boundingBox: GeoBoundingBox? = null)

Describes detailed information about a location obtained through reverse geocoding.

Constructors

Link copied to clipboard
constructor(place: Place, roadUse: Set<RoadUse> = emptySet(), matchType: MatchType? = null, geometry: Geometry? = null, routeNumbers: List<String> = emptyList(), speedLimit: Speed? = null, boundingBox: GeoBoundingBox? = null)

Properties

Link copied to clipboard

The bounding box that encompasses the matched location.

Link copied to clipboard
val geometry: Geometry? = null

The geographical geometry of the matched location, if available. This value is null when ReverseGeocoderOptions.fetchGeometry is set to false.

Link copied to clipboard
val matchType: MatchType? = null

Information indicating the type of match for the location. This value is null when the ReverseGeocoderOptions.areaTypes filter is not empty.

Link copied to clipboard

The location information resulting from reverse geocoding.

Link copied to clipboard

A set of road usage categories associated with the location.

Link copied to clipboard

A list of route numbers, designations, or abbreviations that identify a specific stretch of roadway, assigned by a highway authority. Urban roads might not have route numbers, while extra-urban roads should have them if present in the map data.

Link copied to clipboard
val speedLimit: Speed? = null

The speed limit applicable to the street, if available.