direction markers styling

This commit is contained in:
vcoppe
2024-06-07 16:43:46 +02:00
parent dd7b560371
commit 5347ae0efe

View File

@@ -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);