mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
better direction markers
This commit is contained in:
@@ -136,7 +136,8 @@ export class GPXLayer {
|
|||||||
type: 'symbol',
|
type: 'symbol',
|
||||||
source: this.fileId,
|
source: this.fileId,
|
||||||
layout: {
|
layout: {
|
||||||
'text-field': '>',
|
'text-field': '»',
|
||||||
|
'text-offset': [0, -0.1],
|
||||||
'text-keep-upright': false,
|
'text-keep-upright': false,
|
||||||
'text-max-angle': 361,
|
'text-max-angle': 361,
|
||||||
'text-allow-overlap': true,
|
'text-allow-overlap': true,
|
||||||
@@ -146,7 +147,7 @@ export class GPXLayer {
|
|||||||
},
|
},
|
||||||
paint: {
|
paint: {
|
||||||
'text-color': 'white',
|
'text-color': 'white',
|
||||||
'text-opacity': 0.6,
|
'text-opacity': 0.7,
|
||||||
'text-halo-width': 0.2,
|
'text-halo-width': 0.2,
|
||||||
'text-halo-color': 'white'
|
'text-halo-color': 'white'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user