poi Icon ändern

This commit is contained in:
ISA
2024-04-26 10:02:34 +02:00
parent 8d9e8c6385
commit 7ef390d11b

View File

@@ -619,8 +619,8 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
const { latitude, longitude } = parsePoint(location.position);
const marker = L.marker([latitude, longitude], {
icon: L.icon({
iconUrl: "/location.svg",
iconSize: [34, 34],
iconUrl: "/img/icons/green-marker-icon.png",
iconSize: [24, 34],
iconAnchor: [17, 34],
popupAnchor: [0, -34],
}),