diff --git a/main.js b/main.js index 236a9c5d..e0bad137 100644 --- a/main.js +++ b/main.js @@ -96,7 +96,7 @@ function addPoints(data) { radius: markerRadius, }); } else { - marker = L.marker(data[row].lat, data[row].lon]); + marker = L.marker([data[row].lat, data[row].lon]); } marker.name = data[row].name; // Extend marker with a name property for search