Station öffnen (Tab) funktioniert für polylines und Stationen(Markers)
This commit is contained in:
@@ -52,6 +52,7 @@ export const setupMarkers = async (
|
||||
id: location.idPoi,
|
||||
name: location.name,
|
||||
description: location.description,
|
||||
link: location.link, // Marker-specific link
|
||||
}).bindContextMenu({
|
||||
contextmenu: true,
|
||||
contextmenuWidth: 140,
|
||||
@@ -91,6 +92,7 @@ export const setupMarkers = async (
|
||||
this.openPopup();
|
||||
|
||||
localStorage.setItem("lastElementType", "marker");
|
||||
localStorage.setItem("markerLink", this.options.link); // Store the marker-specific link
|
||||
});
|
||||
|
||||
marker.on("mouseout", function () {
|
||||
|
||||
Reference in New Issue
Block a user