Location
This object represents a point on the map.
📝 Schema
Field | Type | Description |
---|---|---|
longitude | Float | Latitude as defined by the sender |
latitude | Float | Longitude as defined by the sender |
⚙️ Get methods
getLongitude()
Retrieves the longitude of the location.
$locationLongitude = $locationObject->getLongitude();
getLatitude()
Retrieves the latitude of the location.
$locationLatitude = $locationObject->getLatitude();
➕ More
tip
For further information, refer to the official Bale documentation for more details.