use same font for markers

This commit is contained in:
vcoppe
2026-05-27 22:03:53 +02:00
parent fe8896e870
commit 31912da76f
2 changed files with 3 additions and 3 deletions
@@ -74,7 +74,7 @@ export class DistanceMarkers {
layout: {
'text-field': ['get', 'distance'],
'text-size': 14,
'text-font': ['Open Sans Bold'],
'text-font': ['Noto Sans Bold'],
},
paint: {
'text-color': 'black',
@@ -251,11 +251,11 @@ export class GPXLayer {
source: this.fileId,
layout: {
'text-field': '»',
'text-offset': [0, -0.06],
'text-offset': [0, -0.1],
'text-keep-upright': false,
'text-max-angle': 361,
'text-allow-overlap': true,
'text-font': ['Open Sans Bold'],
'text-font': ['Noto Sans Bold'],
'symbol-placement': 'line',
'symbol-spacing': 20,
},