Skip to content

Commit 163c78e

Browse files
author
Bobby Sudekum
committed
spelling
1 parent 772fefe commit 163c78e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

MapboxGeocoder/MBGeocodeOptions.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ open class GeocodeOptions: NSObject {
6666

6767

6868
/**
69-
If true, the response will possibly include a `routeableLocation`.
69+
If true, the response will possibly include a `routableLocation`.
7070

71-
`routeableLocation` represents the best location for a vehicle to navigate to.
71+
`routableLocation` represents the best location for a vehicle to navigate to.
7272
*/
7373
@objc open var includeRoutableLocations: Bool = false
7474

MapboxGeocoder/MBPlacemark.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ open class Placemark: NSObject, Codable {
118118
if let points = try? container.nestedContainer(keyedBy: RoutableLocationsKeys.self, forKey: .routableLocations),
119119
let coordinatePairs = try points.decodeIfPresent([[CLLocationDegrees]].self, forKey: .points) {
120120
let coordinates = coordinatePairs.map { CLLocationCoordinate2D(geoJSON: $0) }
121-
routeableLocations = coordinates
121+
routableLocations = coordinates
122122
}
123123
}
124124

@@ -368,7 +368,7 @@ open class Placemark: NSObject, Codable {
368368
/**
369369
An array of locations representing the location a user should navigate to to reach the `Placemark`.
370370
*/
371-
@objc open var routeableLocations: [CLLocationCoordinate2D]?
371+
@objc open var routableLocations: [CLLocationCoordinate2D]?
372372
}
373373

374374
internal struct GeocodeResult: Codable {

0 commit comments

Comments
 (0)