maplibre 0.0.2

Native Maps for Web, Mobile and Desktop
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use wgpu::BufferAddress;

pub const DEBUG_WIREFRAME: bool = false;
pub const DEBUG_STENCIL_PATTERN: bool = false;
pub const INDEX_FORMAT: wgpu::IndexFormat = wgpu::IndexFormat::Uint32; // Must match IndexDataType

pub const VERTEX_BUFFER_SIZE: BufferAddress = 1024 * 1024 * 32;
pub const FEATURE_METADATA_BUFFER_SIZE: BufferAddress = 1024 * 1024 * 32;
pub const INDICES_BUFFER_SIZE: BufferAddress = 1024 * 1024 * 32;
pub const LAYER_METADATA_BUFFER_SIZE: BufferAddress = 1024 * 24;

pub const TILE_VIEW_BUFFER_SIZE: BufferAddress = 4096;