Skip to main content

Location

This object represents a point on the map.

📝 Schema

FieldTypeDescription
longitudeFloatLatitude as defined by the sender
latitudeFloatLongitude 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.