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,