fix(geo_map): icons for GPX waypoints

This commit is contained in:
Elian Doran
2025-06-01 15:45:15 +03:00
parent 4509ef62b5
commit 41b0f27420
3 changed files with 8 additions and 4 deletions

View File

@@ -235,7 +235,10 @@ export default class GeoMapTypeWidget extends TypeWidget {
const track = new this.L.GPX(stringResponse, {
markers: {
startIcon: this.#buildIcon(note.getIcon(), note.getColorClass(), note.title),
endIcon: this.#buildIcon("bxs-flag-checkered")
endIcon: this.#buildIcon("bxs-flag-checkered"),
wptIcons: {
"": this.#buildIcon("bx bx-pin")
}
}
});
track.addTo(this.geoMapWidget.map);