diff --git a/integration-tests/src/lines.test.ts b/integration-tests/src/lines.test.ts index 341dda17..baeaaf22 100644 --- a/integration-tests/src/lines.test.ts +++ b/integration-tests/src/lines.test.ts @@ -618,7 +618,7 @@ test("Export line", async () => { - #0000ff + #aa0000ff 4 @@ -642,7 +642,7 @@ test("Export line", async () => { - #0000ff + #aa0000ff 4 @@ -693,7 +693,7 @@ test("Export line (track)", async () => { - #00ff00 + #aa00ff00 10 @@ -718,7 +718,7 @@ test("Export line (track)", async () => { - #00ff00 + #aa00ff00 10 diff --git a/server/src/export/gpx.ts b/server/src/export/gpx.ts index c39a4574..57b428f9 100644 --- a/server/src/export/gpx.ts +++ b/server/src/export/gpx.ts @@ -71,7 +71,7 @@ function getMarkerGpx(marker: Marker, type: Type): ReadableStream { `\t${quoteHtml(dataToText(type.fields, marker.data))}\n` + `\t\n` + (osmandBackground ? `\t\t${osmandBackground}\n` : "") + - `\t\t#${marker.colour}\n` + + `\t\t#aa${marker.colour}\n` + `\t\n` + `` ); @@ -235,7 +235,7 @@ function getLineMetadataGpx(line: LineForExport, type: Type | undefined): string } }, { ...(line.colour ? { - "osmand:color": `#${line.colour}` + "osmand:color": `#aa${line.colour}` } : {}), ...(line.width ? { "osmand:width": `${line.width}`