View Source GoogleApi.Books.V1.Model.GeolayerdataGeo (google_api_books v0.21.0)

Attributes

  • boundary (type: list(String.t), default: nil) - The boundary of the location as a set of loops containing pairs of latitude, longitude coordinates.
  • cachePolicy (type: String.t, default: nil) - The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED, NEVER
  • countryCode (type: String.t, default: nil) - The country code of the location.
  • latitude (type: float(), default: nil) - The latitude of the location.
  • longitude (type: float(), default: nil) - The longitude of the location.
  • mapType (type: String.t, default: nil) - The type of map that should be used for this location. EX: HYBRID, ROADMAP, SATELLITE, TERRAIN
  • viewport (type: GoogleApi.Books.V1.Model.GeolayerdataGeoViewport.t, default: nil) - The viewport for showing this location. This is a latitude, longitude rectangle.
  • zoom (type: integer(), default: nil) - The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom level, in which the entire world can be seen on one map) to 21+ (down to individual buildings). See: https: //developers.google.com/maps/documentation/staticmaps/#Zoomlevels

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Books.V1.Model.GeolayerdataGeo{
  boundary: [String.t()] | nil,
  cachePolicy: String.t() | nil,
  countryCode: String.t() | nil,
  latitude: float() | nil,
  longitude: float() | nil,
  mapType: String.t() | nil,
  viewport: GoogleApi.Books.V1.Model.GeolayerdataGeoViewport.t() | nil,
  zoom: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.