EXTENSION
public extension CLLocation
convenience init(from coordinate: CLLocationCoordinate2D)
CLLocation
from CLLocationCoordinate2D
- Parameter coordinate:
CLLocationCoordinate2D
Name | Description |
---|---|
coordinate | CLLocationCoordinate2D |
func reverseGeocode() -> Deferred<Future<[CLPlacemark], GeocodeError>>
Reverse geocode a CLLocation
- Parameter location:
CLLocation
- Returns: Future with Result<[
CLPlacemark
],GeocodeError
>
Name | Description |
---|---|
location | CLLocation |