This response can have the following status codes:
200: Coordinates retrieved successfully. The result contains latitude and longitude.403: Forbidden - client not authorized to access location data.424: GeoKit error - location services unavailable.500: Internal server error - an unexpected error occurred on the native side.501: Not implemented - this method requires the Grab app environment.Success response (200) - Singapore coordinates:
{
status_code: 200,
result: { lat: 1.3521, lng: 103.8198 }
}
Response when getting the device coordinates.