MapboxGeocoder.swift icon indicating copy to clipboard operation
MapboxGeocoder.swift copied to clipboard

Expose Placemark.properties

Open frederoni opened this issue 6 years ago • 0 comments

Fixes #159

I've split up Placemark and GeocodedPlacemark into separate files to improve readability.

The actual changes are:

- superiorPlacemarks = try container.decodeIfPresent([GeocodedPlacemark].self, forKey: .superiorPlacemarks)
+ superiorPlacemarks = try container.decodeIfPresent([Placemark].self, forKey: .superiorPlacemarks)

along with exposing Placemark.properties, which I don't think should be exposed after a second thought because we have aliases to most of these properties. 🤔

cc @1ec5 @riastrad

frederoni avatar Sep 19 '18 13:09 frederoni