mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
direction markers styling
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user