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
placeRepresentation of the address returned in the result
navigablePositionThe position of the matched place
roadUseList of road usage types at the address
matchTypeInformation on the type of match
mapCodesMap codes of the matched place
geometryThe geometry fetching feature isn’t implemented yet (addded for future use)
routeNumbersunambiguously identify the street
speedLimita speed limit defined at the matched address
boundingBoxa 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?
PlaceMatch Structure Reference