martin-core 0.5.0

Basic building blocks of MapLibre's Martin tile server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Errors that can occur during style processing.
#[non_exhaustive]
#[derive(thiserror::Error, Debug)]
pub enum StyleError {
    /// Cannot render style.
    #[cfg(all(feature = "rendering", target_os = "linux"))]
    #[error("Sprite {0} not found")]
    SingleThreadedRenderPoolError(#[from] maplibre_native::SingleThreadedRenderPoolError),

    /// Rendering is disabled.
    #[cfg(all(feature = "rendering", target_os = "linux"))]
    #[error("Rendering is disabled")]
    RenderingIsDisabled,
}