direction markers styling
This commit is contained in:
parent
dd7b560371
commit
5347ae0efe
1 changed files with 3 additions and 2 deletions
|
@ -140,11 +140,12 @@ export class GPXLayer {
|
||||||
'text-allow-overlap': true,
|
'text-allow-overlap': true,
|
||||||
'text-font': [font[get(currentBasemap)] ?? 'Open Sans Bold'],
|
'text-font': [font[get(currentBasemap)] ?? 'Open Sans Bold'],
|
||||||
'symbol-placement': 'line',
|
'symbol-placement': 'line',
|
||||||
'symbol-spacing': 25,
|
'symbol-spacing': 20,
|
||||||
},
|
},
|
||||||
paint: {
|
paint: {
|
||||||
'text-color': 'white',
|
'text-color': 'white',
|
||||||
'text-halo-width': 0.5,
|
'text-opacity': 0.6,
|
||||||
|
'text-halo-width': 0.2,
|
||||||
'text-halo-color': 'white'
|
'text-halo-color': 'white'
|
||||||
}
|
}
|
||||||
}, this.map.getLayer('distance-markers') ? 'distance-markers' : undefined);
|
}, this.map.getLayer('distance-markers') ? 'distance-markers' : undefined);
|
||||||
|
|
Loading…
Reference in a new issue