From 2091677637ab478587d7497c3c08cb255713a891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 4 Jan 2023 15:45:36 -0800 Subject: [PATCH] Format highway exit number lists --- src/layer/highway_exit.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layer/highway_exit.js b/src/layer/highway_exit.js index 6f995becc..00a834a38 100644 --- a/src/layer/highway_exit.js +++ b/src/layer/highway_exit.js @@ -1,5 +1,7 @@ "use strict"; +import * as Label from "../constants/label.js"; + export const exits = { id: "highway_exit", type: "symbol", @@ -12,7 +14,7 @@ export const exits = { "source-layer": "transportation_name", minzoom: 14, layout: { - "text-field": ["get", "ref"], + "text-field": Label.listValuesExpression(["get", "ref"], "\n"), "text-font": ["OpenHistorical Bold"], "text-size": 9, "text-line-height": 1,