better direction markers

This commit is contained in:
vcoppe
2024-06-11 22:57:57 +02:00
parent 57c1635eb7
commit 8506206ab8

View File

@@ -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'
}