View Source GoogleApi.ContentWarehouse.V1.Model.GoogleTypeLatLng (google_api_content_warehouse v0.4.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.ContentWarehouse.V1.Model.GoogleTypeLatLng{
  latitude: float() | nil,
  longitude: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.