mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
feat(geomap): the line of GPX traces now respects the #color
attribute
This commit is contained in:
parent
9ba49bdc5f
commit
d7c6c8f5fd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user