Sebastiankay commited on
Commit
bb9f069
·
verified ·
1 Parent(s): 8e8930f

Update templates/map.html

Browse files
Files changed (1) hide show
  1. templates/map.html +4 -1
templates/map.html CHANGED
@@ -1016,6 +1016,7 @@
1016
  // Funktion zum Hinzufügen eines Markers
1017
  function addMarker(x, y, z, timestamp, preview = false, actualmap = false, playername = false, markercolor = false) {
1018
  // Position validieren
 
1019
  const position = {
1020
  x: parseFloat(x),
1021
  y: parseFloat(y),
@@ -1092,7 +1093,9 @@
1092
  duration: 0.5
1093
  });
1094
 
1095
- console.log("Neuer Marker gesetzt:", position);
 
 
1096
  }
1097
 
1098
  document.onload = loadLocalData()
 
1016
  // Funktion zum Hinzufügen eines Markers
1017
  function addMarker(x, y, z, timestamp, preview = false, actualmap = false, playername = false, markercolor = false) {
1018
  // Position validieren
1019
+ let marker & playername;
1020
  const position = {
1021
  x: parseFloat(x),
1022
  y: parseFloat(y),
 
1093
  duration: 0.5
1094
  });
1095
 
1096
+ console.log("Neuer Marker gesetzt: " + position);
1097
+ console.log("currentMarker: ")
1098
+ console.log(currentMarker)
1099
  }
1100
 
1101
  document.onload = loadLocalData()