feat(geomap): the line of GPX traces now respects the `#color` attribute

pull/2106/head
Elian Doran 2025-06-02 15:53:19 +07:00
parent 9ba49bdc5f
commit d7c6c8f5fd
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

@ -239,6 +239,9 @@ export default class GeoMapTypeWidget extends TypeWidget {
wptIcons: {
"": this.#buildIcon("bx bx-pin")
}
},
polyline_options: {
color: note.getLabelValue("color") ?? "blue"
}
});
track.addTo(this.geoMapWidget.map);