maringetxway commited on
Commit
4c153d2
·
verified ·
1 Parent(s): ab393b0

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +3 -3
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 || 'N/A';
32
- const nbPeople = entry.nb_of_people || entry.Nb_of_people || 'N/A';
33
- const discordUsername = entry.discord_username || entry.Discord_username || 'N/A';
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 })