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 4, 2023
1 parent 84c5009 commit b26588d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b26588d

Please sign in to comment.