Skip to content

Commit

Permalink
Format highway exit number lists
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Jan 4, 2023
1 parent 0815653 commit 2091677
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/layer/highway_exit.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"use strict";

import * as Label from "../constants/label.js";

export const exits = {
id: "highway_exit",
type: "symbol",
Expand All @@ -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,
Expand Down

0 comments on commit 2091677

Please sign in to comment.