Module google_maps::types

source ·
Expand description

Common types used across several Google Maps API interfaces.

Structs§

  • Contains the separate components applicable to this address.
  • Contains the recommended viewport for displaying the returned result, specified as two latitude & longitude pairs defining the southwest and northeast corner of the viewport bounding box. Generally the viewport is used to frame a result when displaying it to a user.
  • Contains the geocoded latitude/longitude, recommended viewport for displaying the returned result, the bounding box, and other additional data.
  • Latitude and longitude values must correspond to a valid location on the face of the earth. Latitudes can take any value between -90 and 90 while longitude values can take any value between -180 and 180. If you specify an invalid latitude or longitude value, your request will be rejected as a bad request.

Enums§

  • Country is the national political entity and is typically the highest order type returned by the Geocoder.
  • Errors that may be produced by crate types from implementations and associated functions. For example, type conversions, instantiations, etc.
  • Specifies the language in which to return results.
  • Stores additional data about the specified location.
  • This specifies the types or categories of a place. For example, a returned location could be a “country” (as in a nation) or it could be a “shopping mall.” Also, a requested place could be a “locality” (a city) or a “street_address” This type helps define the data that is being returned or sought. See Place Types for more information.
  • Specifies the region bias.