Google Places · JSON Structure

Lat Lng Structure

A latitude/longitude pair expressed in degrees.

Type: object Properties: 2
RestaurantGeolocationGoogleLocationsMapsPlacesPoints of Interest

LatLng is a JSON Structure definition published by Google Places, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

latitude longitude

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

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