Release: Version 1.0.0 von main branch soll mergen
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Custom circle icon for draggable markers
|
||||
// Viereck als End-Icon für die Route
|
||||
import L from "leaflet";
|
||||
const endIcon = L.divIcon({
|
||||
className: "custom-end-icon",
|
||||
|
||||
@@ -867,6 +867,8 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
|
||||
L.tileLayer(online ? onlineTileLayer : offlineTileLayer, {
|
||||
attribution:
|
||||
'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
|
||||
//tileSize: 250, // oder 512, je nach Kachelgröße
|
||||
//detectRetina: true,
|
||||
}).addTo(initMap);
|
||||
|
||||
const overlappingMarkerSpiderfier =
|
||||
|
||||
@@ -10,7 +10,7 @@ const startIcon = L.divIcon({
|
||||
</svg>
|
||||
`, // Schwarzes Dreieck innerhalb eines grauen Dreiecks
|
||||
iconSize: [18, 18],
|
||||
iconAnchor: [9, 18],
|
||||
iconAnchor: [9, 10],
|
||||
});
|
||||
|
||||
export default startIcon;
|
||||
|
||||
Reference in New Issue
Block a user