PlaceMatch

constructor(place: Place, matchType: MatchType? = null, geometry: Geometry? = null, routeNumbers: List<String> = emptyList(), speedLimit: Speed? = null, boundingBox: GeoBoundingBox? = null)

Parameters

place

The location information resulting from reverse geocoding.

matchType

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

geometry

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

routeNumbers

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.

speedLimit

The speed limit applicable to the street, if available.

boundingBox

The bounding box that encompasses the matched location.


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

Deprecated

This API is deprecated and will be removed with the next major release.

Parameters

place

The location information resulting from reverse geocoding.

roadUse

A set of road usage categories associated with the location.

matchType

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

geometry

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

routeNumbers

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.

speedLimit

The speed limit applicable to the street, if available.

boundingBox

The bounding box that encompasses the matched location.