Location view improvements

This commit is contained in:
Ilya Laktyushin
2019-12-04 05:05:28 +04:00
parent 86b181d390
commit 1b264ac3a2
14 changed files with 1089 additions and 74 deletions

View File

@@ -37,6 +37,19 @@ public struct ReverseGeocodedPlacemark {
public let city: String?
public let country: String?
public var compactDisplayAddress: String? {
if let street = self.street {
return street
}
if let city = self.city {
return city
}
if let country = self.country {
return country
}
return nil
}
public var fullAddress: String {
var components: [String] = []
if let street = self.street {