View Source GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1PlusCode (google_api_address_validation v0.3.1)

Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.

Attributes

  • compoundCode (type: String.t, default: nil) - Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.
  • globalCode (type: String.t, default: nil) - Place's global (full) code, such as "9FWM33GV+HQ", representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1PlusCode{
    compoundCode: String.t() | nil,
    globalCode: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.