PlaceMatch
public struct PlaceMatch
Describes the place matching the requested position
Important
This is a Public Preview API. It may be changed or removed at any time.-
init(place:
navigablePosition: roadUse: matchType: mapCodes: geometry: routeNumbers: speedLimit: boundingBox: ) Creates PlaceMatch
Declaration
Swift
public init( place: Place, navigablePosition: CLLocationCoordinate2D, roadUse: [RoadUse]?, matchType: MatchType?, mapCodes: [MapCode]? = nil, geometry: GeoGeometry? = nil, routeNumbers: [String]? = nil, speedLimit: String? = nil, boundingBox: GeoBoundingBox? = nil )
Parameters
place
Representation of the address returned in the result
navigablePosition
The position of the matched place
roadUse
List of road usage types at the address
matchType
Information on the type of match
mapCodes
Map codes of the matched place
geometry
The geometry fetching feature isn’t implemented yet (addded for future use)
routeNumbers
unambiguously identify the street
speedLimit
a speed limit defined at the matched address
boundingBox
a rectange that contains matched place
-
Representation of the address returned in the result.
Declaration
Swift
public let place: Place
-
The position of the matched place
Declaration
Swift
public let navigablePosition: CLLocationCoordinate2D
-
List of road usage types at the address.
Declaration
Swift
public let roadUse: [RoadUse]?
-
Information on the type of match.
Declaration
Swift
public let matchType: MatchType?
-
Map codes of the matched place
Declaration
Swift
public let mapCodes: [MapCode]?
-
A rectangle that contain the matched place
Declaration
Swift
public let boundingBox: GeoBoundingBox?
-
The codes used to unambiguously identify the street
Declaration
Swift
public let routeNumbers: [String]
-
A speed limit defined in the matched place, for example: 30.00KPH
Declaration
Swift
public let speedLimit: String?
-
The geometry fetching feature isn’t implemented yet (this response field is reserved for the future extension).
Declaration
Swift
public let geometry: GeoGeometry?