maplibre/legacy/util/
constants.rs

1//! Translated (partially) from https://github.com/maplibre/maplibre-native/blob/4add9ea/include/mbgl/util/constants.hpp
2
3// ONE_EM constant used to go between "em" units used in style spec and "points" used internally for layout.
4pub const ONE_EM: f64 = 24.0;