Constant maplibre::render::tile_view_pattern::DEFAULT_TILE_SIZE

source ·
pub const DEFAULT_TILE_SIZE: f64 = 512.0;
Expand description

If not otherwise specified, raster tiles usually are 512.0 by 512.0 pixel. In order to support 256.0 x 256.0 raster tiles 256.0 must be used.

Vector tiles always have a size of 512.0.