From 491d57af48e2b83efc0495c021145ba43fd98b38 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 18 Dec 2019 16:35:55 -0500 Subject: [PATCH] Comment routeSegments --- modules/ui/preset_icon.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ui/preset_icon.js b/modules/ui/preset_icon.js index 7fa8bad07..17fa58e94 100644 --- a/modules/ui/preset_icon.js +++ b/modules/ui/preset_icon.js @@ -199,6 +199,11 @@ export function uiPresetIcon(context) { } + // Route icons are drawn with a zigzag annotation underneath: + // o o + // / \ / + // o o + // This dataset defines the styles that are used to draw the zigzag segments. const routeSegments = { bicycle: ['highway/cycleway', 'highway/cycleway', 'highway/cycleway'], bus: ['highway/unclassified', 'highway/secondary', 'highway/primary'],