mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-12-02 10:02:12 +00:00
fix gpx markers
This commit is contained in:
@@ -213,7 +213,7 @@ export class GPXLayer {
|
||||
'text-halo-color': 'white',
|
||||
},
|
||||
},
|
||||
_map.getLayer('distance-markers') ? 'distance-markers' : undefined
|
||||
_map.getLayer('distance-markers-100') ? 'distance-markers-100' : undefined
|
||||
);
|
||||
}
|
||||
} else {
|
||||
@@ -408,10 +408,7 @@ export class GPXLayer {
|
||||
_map.moveLayer(this.fileId);
|
||||
}
|
||||
if (_map.getLayer(this.fileId + '-direction')) {
|
||||
_map.moveLayer(
|
||||
this.fileId + '-direction',
|
||||
_map.getLayer('distance-markers') ? 'distance-markers' : undefined
|
||||
);
|
||||
_map.moveLayer(this.fileId + '-direction');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user