PlaceMatch

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)
constructor(place: Place, 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

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

Link copied to clipboard

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

The speed limit applicable to the street, if available.

Functions

Link copied to clipboard
operator fun component1(): Place

Returns the first component of this PlaceMatch object, which is the location information resulting from reverse geocoding.

Link copied to clipboard
operator fun component2(): Set<RoadUse>

Returns the second component of this PlaceMatch object, which is a set of road usage categories associated with the location.

Link copied to clipboard
operator fun component3(): MatchType?

Returns the third component of this PlaceMatch object, which is information indicating the type of match for the location.

Link copied to clipboard
operator fun component4(): Geometry?

Returns the fourth component of this PlaceMatch object, which is the geographical geometry of the matched location, if available.

Link copied to clipboard
operator fun component5(): List<String>

Returns the fifth component of this PlaceMatch object, which is a list of route numbers, designations, or abbreviations that identify a specific stretch of roadway, assigned by a highway authority.

Link copied to clipboard
operator fun component6(): Speed?

Returns the sixth component of this PlaceMatch object, which is the speed limit applicable to the street, if available.

Link copied to clipboard
operator fun component7(): GeoBoundingBox?

Returns the seventh component of this PlaceMatch object, which is the bounding box that encompasses the matched location.

Link copied to clipboard
fun copy(place: Place = this.place, matchType: MatchType? = this.matchType, geometry: Geometry? = this.geometry, routeNumbers: List<String> = this.routeNumbers, speedLimit: Speed? = this.speedLimit, boundingBox: GeoBoundingBox? = this.boundingBox): PlaceMatch
fun copy(place: Place = this.place, roadUse: Set<RoadUse> = this.roadUse, matchType: MatchType? = this.matchType, geometry: Geometry? = this.geometry, routeNumbers: List<String> = this.routeNumbers, speedLimit: Speed? = this.speedLimit, boundingBox: GeoBoundingBox? = this.boundingBox): PlaceMatch

Creates a copy of this PlaceMatch object with optional parameter overrides.