Update script.js
Browse files
script.js
CHANGED
@@ -28,9 +28,9 @@ function addMarkers(data, icon) {
|
|
28 |
const lng = parseFloat(entry.longitude || entry.Longitude);
|
29 |
const name = entry.name || entry.Name || 'Unknown';
|
30 |
const desc = entry.description || entry.Description || '';
|
31 |
-
const address = entry.address || entry.Address || '
|
32 |
-
const nbPeople = entry.nb_of_people || entry.Nb_of_people || '
|
33 |
-
const discordUsername = entry.discord_username || entry.Discord_username || '
|
34 |
|
35 |
if (!isNaN(lat) && !isNaN(lng)) {
|
36 |
L.marker([lat, lng], { icon: icon })
|
|
|
28 |
const lng = parseFloat(entry.longitude || entry.Longitude);
|
29 |
const name = entry.name || entry.Name || 'Unknown';
|
30 |
const desc = entry.description || entry.Description || '';
|
31 |
+
const address = entry.address || entry.Address || '';
|
32 |
+
const nbPeople = entry.nb_of_people || entry.Nb_of_people || '';
|
33 |
+
const discordUsername = entry.discord_username || entry.Discord_username || '';
|
34 |
|
35 |
if (!isNaN(lat) && !isNaN(lng)) {
|
36 |
L.marker([lat, lng], { icon: icon })
|