diff --git a/components/MapComponent.js b/components/MapComponent.js index 3d978aefe..a4174beea 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -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), - }, + }, */ ], }); } diff --git a/config/config.js b/config/config.js index 8f777e4fc..323a9fc1a 100644 --- a/config/config.js +++ b/config/config.js @@ -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' // 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 mapGisStationsStatusDistrictUrl = `${serverURL}/talas5/ClientData/WebserviceMap.asmx/GisStationsStatusDistrict?idMap=${c}&idUser=${user}`; mapGisStationsMeasurementsUrl = `${serverURL}/talas5/ClientData/WebserviceMap.asmx/GisStationsMeasurements?idMap=${c}`;