From 8506206ab81fb157b2bc1796a13ebd07bdcd8459 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Tue, 11 Jun 2024 22:57:57 +0200 Subject: [PATCH] better direction markers --- 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 d2cdece3..e7f9ea0d 100644 --- a/website/src/lib/components/gpx-layer/GPXLayer.ts +++ b/website/src/lib/components/gpx-layer/GPXLayer.ts @@ -136,7 +136,8 @@ export class GPXLayer { type: 'symbol', source: this.fileId, layout: { - 'text-field': '>', + 'text-field': 'ยป', + 'text-offset': [0, -0.1], 'text-keep-upright': false, 'text-max-angle': 361, 'text-allow-overlap': true, @@ -146,7 +147,7 @@ export class GPXLayer { }, paint: { 'text-color': 'white', - 'text-opacity': 0.6, + 'text-opacity': 0.7, 'text-halo-width': 0.2, 'text-halo-color': 'white' }