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 (Directions API)
17pub use domain::routing::{
18    GoogleDirectionsResponse, GoogleDistance, GoogleDuration, GoogleGeocodedWaypoint,
19    GooglePolyline, GoogleRoute, GoogleRouteLeg, GoogleRouteStep, GoogleRouter,
20};
21
22// Matching (Roads API snapToRoads)
23pub use domain::matching::{
24    GoogleLocation, GoogleMatchOptions, GoogleRouteMatcher, GoogleSnapResponse, GoogleSnappedPoint,
25};
26
27// Imaging (Static Maps API)
28pub use domain::imaging::GoogleMapImageProvider;
29
30// Positioning (Geolocation API)
31pub use domain::positioning::{
32    GoogleCellTower, GoogleGeolocationLocation, GoogleGeolocationResponse, GooglePositioner,
33    GooglePositioningOptions, GoogleWifiAccessPoint,
34};
35
36// Attributes (Roads API speedLimits)
37pub use domain::attributes::{
38    GoogleAttributeOptions, GoogleAttributeProvider, GoogleSnappedSpeedPoint, GoogleSpeedLimit,
39    GoogleSpeedLimitsResponse, GoogleSpeedLocation,
40};
41
42// Unsupported domains (return UnsupportedDomain error)
43pub use domain::unsupported::{
44    GoogleIsoline, GoogleTileProvider, GoogleTourPlanner, GoogleTraffic,
45};
46
47// Extension traits
48pub use ext::{GoogleAttributeExt, GooglePositionerExt};