Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| latitude | Double | Yes | Latitude of the location |
| longitude | Double | Yes | Longitude of the location |
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
Success Callback
| Property | Type | Description |
|---|---|---|
| success | Boolean | Query success status |
| resultCode | String | 0 success · 1000 invalid params · 1001 network error · 1002 internal error |
| resultMessage | String | Human-readable status message |
| country | String | Country name |
| province | String | Province or state |
| city | String | City |
| street | String | Street |
| formattedAddress | String | Full address per Google Maps reverse geocoding standards |
| countryShortName | String | ISO country code |
| postCode | String | Postal code |