View Source GoogleApi.Firestore.V1.Model.LatLng (google_api_firestore v0.26.0)

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].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.