[][src]Crate google_maps

As of version 0.2.0 this crate is expected to work well, work reliably, and have the most important features implemented. There are some creature comforts and niche APIs not implemented yet. While an early release, for most people this crate should work fine as is.

To do:

  1. Places API
  2. Roads API
  3. Automatic Rate Limiting
  4. Retry on Failure
  5. Asynchronous

Re-exports

pub use crate::directions::request::avoid::Avoid;
pub use crate::directions::request::departure_time::DepartureTime;
pub use crate::directions::request::location::Location;
pub use crate::directions::request::Request as DirectionsRequest;
pub use crate::directions::request::traffic_model::TrafficModel;
pub use crate::directions::request::transit_mode::TransitMode;
pub use crate::directions::request::transit_route_preference::TransitRoutePreference;
pub use crate::directions::request::unit_system::UnitSystem;
pub use crate::directions::request::waypoint::Waypoint;
pub use crate::directions::response::Response as Directions;
pub use crate::directions::response::status::Status as DirectionsStatus;
pub use crate::directions::travel_mode::TravelMode;
pub use crate::elevation::error::Error as ElevationError;
pub use crate::elevation::request::Locations as ElevationLocations;
pub use crate::elevation::request::Request as ElevationRequest;
pub use crate::elevation::response::Response as Elevation;
pub use crate::elevation::response::Status as ElevationStatus;
pub use crate::bounds::Bounds;
pub use crate::language::Language;
pub use crate::latlng::LatLng;
pub use crate::place_type::PlaceType;
pub use crate::region::Region;
pub use crate::geocoding::error::Error as GeocodingError;
pub use crate::geocoding::forward::component::Component as GeocodingComponent;
pub use crate::geocoding::forward::ForwardRequest as GeocodingForwardRequest;
pub use crate::geocoding::location_type::LocationType;
pub use crate::geocoding::response::Response as Geocoding;
pub use crate::geocoding::response::Status as GeocodingStatus;
pub use crate::geocoding::reverse::ReverseRequest as GeocodingReverseRequest;
pub use crate::time_zone::error::Error as TimeZoneError;
pub use crate::time_zone::request::Request as TimeZoneRequest;
pub use crate::time_zone::response::Response as TimeZone;
pub use crate::time_zone::response::Status as TimeZoneStatus;

Modules

bounds
directions

The Directions API is a service that calculates directions between locations. You can search for directions for several modes of transportation, including transit, driving, walking, or cycling.

elevation

The Elevation API provides elevation data for all locations on the surface of the earth, including depth locations on the ocean floor (which return negative values).

geocoding

The Geocoding API is a service that provides geocoding and reverse geocoding of addresses.

language
latlng
place_type
region
time_zone

The Time Zone API provides time offset data for locations on the surface of the earth. You request the time zone information for a specific latitude/longitude pair and date. The API returns the name of that time zone, the time offset from UTC, and the daylight savings offset.