Google Places · Schema

LatLng

A latitude/longitude pair expressed in degrees.

RestaurantGeolocationGoogleLocationsMapsPlacesPoints of Interest

Properties

Name Type Description
latitude number Latitude in degrees, in the range -90.0 to 90.0.
longitude number Longitude in degrees, in the range -180.0 to 180.0.
View JSON Schema on GitHub

JSON Schema

lat-lng-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/google-places/refs/heads/main/json-schema/lat-lng-schema.json",
  "title": "LatLng",
  "description": "A latitude/longitude pair expressed in degrees.",
  "type": "object",
  "properties": {
    "latitude": {
      "type": "number",
      "description": "Latitude in degrees, in the range -90.0 to 90.0.",
      "minimum": -90,
      "maximum": 90,
      "example": 37.422
    },
    "longitude": {
      "type": "number",
      "description": "Longitude in degrees, in the range -180.0 to 180.0.",
      "minimum": -180,
      "maximum": 180,
      "example": -122.0841
    }
  }
}