mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-01 08:12:32 +00:00
style elevation profile marker
This commit is contained in:
@@ -226,7 +226,11 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
marker = new mapboxgl.Marker();
|
let element = document.createElement('div');
|
||||||
|
element.className = 'h-4 w-4 rounded-full bg-cyan-500 border-2 border-white';
|
||||||
|
marker = new mapboxgl.Marker({
|
||||||
|
element
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$: if (chart && $settings) {
|
$: if (chart && $settings) {
|
||||||
|
Reference in New Issue
Block a user