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
|
||||||
iconUrl: "/img/plus_round.png", // Update with your actual path
|
iconUrl: "/img/plus_round.png", // Update with your actual path
|
||||||
iconSize: [22, 22],
|
iconSize: [22, 22],
|
||||||
iconAnchor: [28, 55],
|
iconAnchor: [25, 55],
|
||||||
className: "absolute top-0 left-0 z-10", // Adjust with Tailwind CSS classes
|
className: "absolute top-0 left-0 z-10", // Adjust with Tailwind CSS classes
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
|
|||||||
contextmenu: true,
|
contextmenu: true,
|
||||||
contextmenuWidth: 140,
|
contextmenuWidth: 140,
|
||||||
contextmenuItems: [
|
contextmenuItems: [
|
||||||
{
|
/* {
|
||||||
text: "Station öffnen (Tab)",
|
text: "Station öffnen (Tab)",
|
||||||
icon: "/img/screen_new.png",
|
icon: "/img/screen_new.png",
|
||||||
callback: (e) => openInNewTab(e, marker),
|
callback: (e) => openInNewTab(e, marker),
|
||||||
@@ -147,7 +147,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
|
|||||||
text: "Station öffnen",
|
text: "Station öffnen",
|
||||||
icon: "/img/screen_same.png",
|
icon: "/img/screen_same.png",
|
||||||
callback: (e) => openInSameWindow(e, marker),
|
callback: (e) => openInSameWindow(e, marker),
|
||||||
},
|
}, */
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ if (typeof window !== "undefined") {
|
|||||||
user = url.searchParams.get("u") || "484"; // Ein weiterer Parameter aus der URL, Standardwert ist '484 admin zu testen von Stationen ausblenden und einblenden in der Card'
|
user = url.searchParams.get("u") || "484"; // Ein weiterer Parameter aus der URL, Standardwert ist '484 admin zu testen von Stationen ausblenden und einblenden in der Card'
|
||||||
|
|
||||||
// Konstruktion von URLs, die auf spezifische Ressourcen auf dem Server zeigen
|
// Konstruktion von URLs, die auf spezifische Ressourcen auf dem Server zeigen
|
||||||
|
//http://localhost:3000/?m=10&u=485
|
||||||
mapGisStationsStaticDistrictUrl = `${serverURL}/talas5/ClientData/WebserviceMap.asmx/GisStationsStaticDistrict?idMap=${c}&idUser=${user}`; //idMap: 10, idUser: 484
|
mapGisStationsStaticDistrictUrl = `${serverURL}/talas5/ClientData/WebserviceMap.asmx/GisStationsStaticDistrict?idMap=${c}&idUser=${user}`; //idMap: 10, idUser: 484
|
||||||
mapGisStationsStatusDistrictUrl = `${serverURL}/talas5/ClientData/WebserviceMap.asmx/GisStationsStatusDistrict?idMap=${c}&idUser=${user}`;
|
mapGisStationsStatusDistrictUrl = `${serverURL}/talas5/ClientData/WebserviceMap.asmx/GisStationsStatusDistrict?idMap=${c}&idUser=${user}`;
|
||||||
mapGisStationsMeasurementsUrl = `${serverURL}/talas5/ClientData/WebserviceMap.asmx/GisStationsMeasurements?idMap=${c}`;
|
mapGisStationsMeasurementsUrl = `${serverURL}/talas5/ClientData/WebserviceMap.asmx/GisStationsMeasurements?idMap=${c}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user