×

Get what3words Address

iOS 14 +

Notes

Get a what3words address from the given address, coordinates or location

Syntax

getW3W(locationType: <#Enumeration (W3WLocationType)#>, location: <#Unknown Parameter#>, address: <#String (Allows Variables)#>, coordinates: <#String (Allows Variables)#>)

Example

getW3W(locationType: location, location: Placemark(addressDictionary: AddressDictionary(City: "", Country: "", CountryCode: "", FormattedAddressLines: ["", ""], Name: "", State: "", Street: ""), SubAdministrativeArea: "", SubThoroughfare: "", Thoroughfare: "", ZIP: ""), location: Location(altitude: 0, course: 1, horizontalAccuracy: 0.0, latitude: 0, longitude: 0, speed: 1, timestamp: 2022-02-22t22:22:22Z, verticalAccuracy: 1), region: Region(center: Center(latitude: 0.0, longitude: 0.0), identifier: "", radius: 100.0)), address: "", coordinates: "")