You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A closure (block) to be called when a geocoding request is complete.
@@ -64,7 +64,7 @@ public class Geocoder: NSObject {
64
64
- parameter attributionsByQuery: An array of legal notices indicating the sources, copyright statuses, and terms of use of the placemark data for each query.
65
65
- parameter error: The error that occurred, or `nil` if the placemarks were obtained successfully.
// For address features, `text` is just the street name. Look through the fully-qualified address to determine whether to put the house number before or after the street name.
@@ -397,19 +398,19 @@ internal class GeocodedPlacemark: Placemark {
@@ -473,24 +474,25 @@ internal class GeocodedPlacemark: Placemark {
473
474
/**
474
475
The phone number to contact a business at this location.
475
476
*/
476
-
overridevarphoneNumber:String?{
477
+
publicoverridevarphoneNumber:String?{
477
478
returnpropertiesJSON["tel"]as?String
478
479
}
479
480
}
480
481
481
482
/**
482
483
A concrete subclass of `Placemark` to represent entries in a `GeocodedPlacemark` object’s `superiorPlacemarks` property. These entries are like top-level geocoding results, except that they lack location information and are flatter, with properties directly at the top level.
0 commit comments