Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| placeId | String | Yes | Unique place identifier returned by a place search |
| 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 · 2000 Google service error |
| resultMessage | String | Human-readable status message |
| location | Object | Coordinates with latitude and longitude (7 decimal precision) |
| formattedAddress | String | Full structured address string |
| addressComponents | Array | Address segments, each with name, shortName, and types |