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

This commit is contained in:
Elian Doran
2025-06-02 15:53:19 +03:00
parent 9ba49bdc5f
commit d7c6c8f5fd

View File

@@ -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);