GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Circle (google_api_places v0.11.0)

View Source

Circle with a LatLng as center and radius.

Attributes

  • center (type: GoogleApi.Places.V1.Model.GoogleTypeLatLng.t, default: nil) - Required. Center latitude and longitude. The range of latitude must be within [-90.0, 90.0]. The range of the longitude must be within [-180.0, 180.0].
  • radius (type: float(), default: nil) - Required. Radius measured in meters. The radius must be within [0.0, 50000.0].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Circle{
  center: GoogleApi.Places.V1.Model.GoogleTypeLatLng.t() | nil,
  radius: float() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.