fn parse_text_size_from_layout(layout: &Value) -> Option<StyleProperty<f32>>Expand description
Extract text-size from a layout JSON value.
Handles constant numbers and zoom-dependent {"stops": [[z, size], ...]}.
fn parse_text_size_from_layout(layout: &Value) -> Option<StyleProperty<f32>>Extract text-size from a layout JSON value.
Handles constant numbers and zoom-dependent {"stops": [[z, size], ...]}.