Plus icon anchor verringern
This commit is contained in:
@@ -27,7 +27,7 @@ const plusRoundIcon = L.icon({
|
||||
//iconUrl: "/img/plus_round.png", // Update with your actual path
|
||||
iconUrl: "/img/plus_round.png", // Update with your actual path
|
||||
iconSize: [22, 22],
|
||||
iconAnchor: [28, 55],
|
||||
iconAnchor: [25, 55],
|
||||
className: "absolute top-0 left-0 z-10", // Adjust with Tailwind CSS classes
|
||||
});
|
||||
|
||||
@@ -138,7 +138,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
|
||||
contextmenu: true,
|
||||
contextmenuWidth: 140,
|
||||
contextmenuItems: [
|
||||
{
|
||||
/* {
|
||||
text: "Station öffnen (Tab)",
|
||||
icon: "/img/screen_new.png",
|
||||
callback: (e) => openInNewTab(e, marker),
|
||||
@@ -147,7 +147,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
|
||||
text: "Station öffnen",
|
||||
icon: "/img/screen_same.png",
|
||||
callback: (e) => openInSameWindow(e, marker),
|
||||
},
|
||||
}, */
|
||||
],
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user