Skip to content
Snippets Groups Projects
Commit 566f505d authored by Winnie's avatar Winnie
Browse files

Fix initCluster()

parent 457d1977
No related branches found
No related tags found
No related merge requests found
......@@ -234,7 +234,7 @@ function reqCluster(params){
// Update the dropdown when response is ready
if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == 200) {
var nodeList = JSON.parse(this.responseText);
initCluster(nodeList["latitude"], nodeList["longitude"], nodeList["area"]);
initCluster(nodeList["latitude"], nodeList["longitude"], nodeList["n"], nodeList["individualCount"]);
}
else {
console.log("Server Response: Error"); //RME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment