Update script.js
Browse files
script.js
CHANGED
@@ -25,7 +25,7 @@ function addMarkers(data, icon) {
|
|
25 |
data.forEach(entry => {
|
26 |
const lat = parseFloat(entry.latitude || entry.Latitude);
|
27 |
const lng = parseFloat(entry.longitude || entry.Longitude);
|
28 |
-
const name = entry.name || entry.
|
29 |
const address = entry.address || entry.Address || 'N/A';
|
30 |
const nbPeople = entry.nb_of_people || entry.Nb_of_people || 'N/A';
|
31 |
const discordUsername = entry.discord_username || entry.Discord_username || 'N/A';
|
|
|
25 |
data.forEach(entry => {
|
26 |
const lat = parseFloat(entry.latitude || entry.Latitude);
|
27 |
const lng = parseFloat(entry.longitude || entry.Longitude);
|
28 |
+
const name = entry.name || entry.name || 'Unknown';
|
29 |
const address = entry.address || entry.Address || 'N/A';
|
30 |
const nbPeople = entry.nb_of_people || entry.Nb_of_people || 'N/A';
|
31 |
const discordUsername = entry.discord_username || entry.Discord_username || 'N/A';
|