From 86b6bdeda15eaaed96134eb5bb4a5912581cfcf7 Mon Sep 17 00:00:00 2001 From: Eduard Gert Date: Tue, 19 Dec 2023 11:50:32 +0100 Subject: [PATCH] Address issue with state labels being too large --- styles/src/base_layers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/src/base_layers.ts b/styles/src/base_layers.ts index cdc94c54..db72bd6a 100644 --- a/styles/src/base_layers.ts +++ b/styles/src/base_layers.ts @@ -1985,11 +1985,11 @@ export function labels_layers(source: string, t: Theme): LayerSpecification[] { "step", ["zoom"], ["get", "name:short"], - 5, + 6, ["get", "name"], ], "text-font": ["Noto Sans Regular"], - "text-size": ["interpolate", ["linear"], ["zoom"], 3, 11, 7, 24], + "text-size": ["interpolate", ["linear"], ["zoom"], 3, 11, 7, 16], "text-radial-offset": 0.2, "text-anchor": "center", "text-transform": "uppercase",