mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-04 01:22:32 +00:00
fix line weight attribute with correct one: line width
This commit is contained in:
@@ -35,7 +35,7 @@ export function parseGPX(gpxData: string): GPXFile {
|
||||
}
|
||||
|
||||
if (tagName === 'gpxtpx:atemp' || tagName === 'gpxtpx:hr' || tagName === 'gpxtpx:cad' || tagName === 'gpxpx:PowerInWatts' ||
|
||||
tagName === 'gpx_style:opacity' || tagName === 'gpx_style:weight') {
|
||||
tagName === 'gpx_style:opacity' || tagName === 'gpx_style:width') {
|
||||
return parseFloat(tagValue);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user