Skip to main content

mln_map/
lib.rs

1//! Ports `src/mln/map` + `include/mln/map` (Map, Map::Impl, MapOptions,
2//! Transform, the observers). The map vocabulary that lower crates need
3//! (`CameraOptions`, `MapMode`, `TransformState`, ...) lives in
4//! `mln_map_types` and is re-exported here.
5
6pub mod map;
7pub mod map_impl;
8pub mod map_observer;
9pub mod map_options;
10// gtests-core: MapProjection (test/map/map.test.cpp).
11pub mod map_projection;
12pub mod transform;
13
14pub use map::Map;
15pub use map_impl::{StillImageCallback, StyleMut};
16pub use map_observer::{CameraChangeMode, MapLoadError, MapObserver, NullMapObserver, RenderFrameStatus, RenderMode};
17pub use map_options::MapOptions;
18pub use map_projection::MapProjection;
19pub use mln_map_types::{
20    AnimationOptions, BoundOptions, CameraOptions, ConstrainMode, FreeCameraOptions, MapDebugOptions, MapMode,
21    NorthOrientation, ProjectionMode, TileLodMode, TransformState, ViewportMode,
22};