Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsoltMONOLITE authored Dec 2, 2023
1 parent e0ef605 commit 5e6eb98
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function addPoints(data) {
description: data[row].description,
program: data[row].program,
client: data[Row].client,
cropbox: data[row].dropbox,
dropbox: data[row].dropbox,
},
};
marker.on({
Expand All @@ -187,6 +187,12 @@ function addPoints(data) {
e.target.feature.properties.name;
document.getElementById("sidebar-content").innerHTML =
e.target.feature.properties.description;
document.getElementById("sidebar-content").innerHTML =
e.target.feature.properties.program;
document.getElementById("sidebar-content").innerHTML =
e.target.feature.properties.client;
document.getElementById("sidebar-content").innerHTML =
e.target.feature.properties.dropbox;
sidebar.open(panelID);
},
});
Expand Down

0 comments on commit 5e6eb98

Please sign in to comment.