GoogleApi.Datastore.V1.Model.LatLng (google_api_datastore v0.18.1) View Source

An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.

Attributes

  • latitude (type: float(), default: nil) - The latitude in degrees. It must be in the range [-90.0, +90.0].
  • longitude (type: float(), default: nil) - The longitude in degrees. It must be in the range [-180.0, +180.0].

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Datastore.V1.Model.LatLng{
  latitude: float() | nil,
  longitude: float() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.