mln-rs-engine 0.0.18

Part of mln-rs, a Rust port of the MapLibre Native map rendering core. Depend on mln-rs instead.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::sync::Arc;

use mln_style::expression::GlobalStateMap;
use mln_style::subdivision_granularity::SubdivisionGranularitySetting;

use crate::map::MapMode;
use crate::tile::OverscaledTileID;

#[derive(Clone, Debug)]
pub(crate) struct BucketParameters {
    pub(crate) tile_id: OverscaledTileID,
    pub(crate) mode: MapMode,
    pub(crate) pixel_ratio: f32,
    /// The style's global state, used by "global-state" expressions.
    pub(crate) global_state: Option<Arc<GlobalStateMap>>,
    pub(crate) subdivision_granularity: SubdivisionGranularitySetting,
}