From 5347ae0efea722a28c4e60ea3b8eca8fb2315540 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Fri, 7 Jun 2024 16:43:46 +0200 Subject: [PATCH] direction markers styling --- website/src/lib/components/gpx-layer/GPXLayer.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/src/lib/components/gpx-layer/GPXLayer.ts b/website/src/lib/components/gpx-layer/GPXLayer.ts index 004ba898..13006782 100644 --- a/website/src/lib/components/gpx-layer/GPXLayer.ts +++ b/website/src/lib/components/gpx-layer/GPXLayer.ts @@ -140,11 +140,12 @@ export class GPXLayer { 'text-allow-overlap': true, 'text-font': [font[get(currentBasemap)] ?? 'Open Sans Bold'], 'symbol-placement': 'line', - 'symbol-spacing': 25, + 'symbol-spacing': 20, }, paint: { 'text-color': 'white', - 'text-halo-width': 0.5, + 'text-opacity': 0.6, + 'text-halo-width': 0.2, 'text-halo-color': 'white' } }, this.map.getLayer('distance-markers') ? 'distance-markers' : undefined);