Skip to main content

mln_engine/map/
mod.rs

1//! The map: [`Map`], its options, its snapshots, its style's loading and
2//! feature state, and the events it reports. Its camera is in `camera`.
3
4#[expect(clippy::module_inception, reason = "`map::map` holds the `Map` that the module is about")]
5pub(crate) mod map;
6
7pub(crate) mod events;
8pub(crate) mod feature_state;
9pub(crate) mod options;
10pub(crate) mod snapshot;
11pub(crate) mod style_loader;
12
13pub use events::{CameraChange, CameraChangeMode, CameraChangeSource, MapEvent, RenderFrameStatus};
14pub use map::{Map, style_camera};
15pub use options::{MapMode, MapOptions, TerrainOptions, TerrainSkirtLength};
16pub use snapshot::{CameraBounds, FreeCamera, MapSnapshot, TileSettings};
17
18#[cfg(test)]
19mod tests;