MapboxGeocoder.swift
MapboxGeocoder.swift copied to clipboard
Address search and reverse geocoding in Swift or Objective-C on iOS, macOS, tvOS, and watchOS
This PR reenables codecov for MapboxGeocoder.swift.
This library should add [the Swift port of Turf](https://github.com/mapbox/turf-swift/) as a dependency. GeocodeResult and much of the Placemark struct’s Codable conformance should be replaced by FeatureCollection. ## Rationale This library...
Hi I would like to add a convenience `streetAddress` property for MBPlacemark. I have noticed that for `.address` features `name` property contains only a street name and the house number...
Currently, mapbox-navigation's `AppDelegate` extends `GeocodedPlacemark` to include a `substring` property used to display the address when using search on CarPlay. This property has some complicated logic that we should not...
[self.geocoder geocodeWithOptions:options completionHandler:^(NSArray * _Nullable placemarks, NSString * _Nullable attribution, NSError * _Nullable error) { }] The error is : Error Domain=NSCocoaErrorDomain Code=4864 "Expected to decode Array but found a...
Fixes #159 I've split up Placemark and GeocodedPlacemark into separate files to improve readability. The actual changes are: ```swift - superiorPlacemarks = try container.decodeIfPresent([GeocodedPlacemark].self, forKey: .superiorPlacemarks) + superiorPlacemarks = try...
Hi!, I've been trying to use the **Geocoder framework**. However, every time I build my project I get the same error: `Could not build module 'MapboxGeocoder'` I've tried some things:...
This project was originally named MapboxGeocoder.swift because it started as a single file named MapboxGeocoder.swift in 2c2a827283d03fbd075719b7d158066084a3442a. (Lore has it that, even before this repository existed, it was a gist...
`GeocodedPlacemark.superiorplacemarks.wikidataItemIdentifier` is not populated.
An example of how to use MapboxGeocoder.swift's autocomplete functionality with a [`UISearchController`](https://developer.apple.com/documentation/uikit/uisearchcontroller) would be particularly useful.