Skip to main content

geospatial_types/
lib.rs

1//! Shared data records and the error model for the Maps SDK.
2//!
3//! This crate has no input/output. Provider implementations, the rendering
4//! engine and the navigation engine all exchange the records defined here.
5
6pub mod bounding_box;
7pub mod coordinate;
8pub mod elevation;
9pub mod error;
10pub mod place;
11pub mod raster;
12pub mod route;
13pub mod traffic;
14pub mod vector;
15
16pub use bounding_box::BoundingBox;
17pub use coordinate::GeographicCoordinate;
18pub use elevation::{ElevationPoint, ElevationProfile};
19pub use error::{CacheOperationFailureReason, OfflineGraphInvalidReason, SDKError};
20pub use place::{GeocodeQuality, PlaceResult};
21pub use raster::{RasterImageFormat, RasterTileData, RasterTileResolution};
22pub use route::{
23    AvoidOptions, DistanceMatrix, DistanceMatrixEntry, LaneGuidance, ManeuverType, RouteData,
24    RouteLeg, RouteOptions, RouteStep, TransportationMode, TurnDirection, UnitSystem,
25};
26pub use traffic::{
27    TrafficFlowCongestionLevel, TrafficFlowData, TrafficIncident, TrafficIncidentSeverity,
28    TrafficIncidentType,
29};
30pub use vector::{VectorTileData, VectorTileEncoding};