Skip to main content

everymap_providers_google/
lib.rs

1pub mod client;
2pub mod domain;
3pub mod ext;
4
5pub use client::GoogleClient;
6
7// Shared types
8pub use domain::geo::{GoogleBounds, GoogleLatLng};
9
10// Search (Geocoding API)
11pub use domain::search::{
12    GoogleAddressComponent, GoogleGeocodeResponse, GoogleGeocodeResult, GoogleGeocoder,
13    GoogleGeometry, GooglePlusCode,
14};
15
16// Routing (Routes API v2)
17pub use domain::routing::{
18    GoogleNavigationInstruction, GoogleRoute, GoogleRouteLeg, GoogleRouteModifiers,
19    GoogleRouteStep, GoogleRouter, GoogleRoutesLatLng, GoogleRoutesLocation, GoogleRoutesPolyline,
20    GoogleRoutesRequest, GoogleRoutesResponse, GoogleTravelMode, GoogleViewport, GoogleWaypoint,
21};
22
23// Matching (Roads API snapToRoads)
24pub use domain::matching::{
25    GoogleLocation, GoogleMatchOptions, GoogleRouteMatcher, GoogleSnapResponse, GoogleSnappedPoint,
26};
27
28// Imaging (Static Maps API)
29pub use domain::imaging::GoogleMapImageProvider;
30
31// Positioning (Geolocation API)
32pub use domain::positioning::{
33    GoogleCellTower, GoogleGeolocationLocation, GoogleGeolocationResponse, GooglePositioner,
34    GooglePositioningOptions, GoogleWifiAccessPoint,
35};
36
37// Attributes (Roads API speedLimits)
38pub use domain::attributes::{
39    GoogleAttributeOptions, GoogleAttributeProvider, GoogleSnappedSpeedPoint, GoogleSpeedLimit,
40    GoogleSpeedLimitsResponse, GoogleSpeedLocation,
41};
42
43// Unsupported domains (return UnsupportedDomain error)
44pub use domain::unsupported::{
45    GoogleIsoline, GoogleTileProvider, GoogleTourPlanner, GoogleTraffic,
46};
47
48// Extension traits
49pub use ext::{GoogleAttributeExt, GooglePositionerExt};