Commit 8fff1be2411ea1559eec02496640316dab519e57

Authored by Andrea Petta
1 parent f965cc59

plugin update

datalets/leafletjs-datalet/leafletjs-datalet.html
@@ -101,7 +101,7 @@ Example: @@ -101,7 +101,7 @@ Example:
101 else 101 else
102 continue; 102 continue;
103 } 103 }
104 - else if(t.data[0].data[i].indexOf(",")) 104 + else if(t.data[0].data[i] && t.data[0].data[i].indexOf(","))
105 { 105 {
106 var coords = t.data[0].data[i].split(","); 106 var coords = t.data[0].data[i].split(",");
107 if(!isNaN(coords[0]) && !isNaN(coords[1])) 107 if(!isNaN(coords[0]) && !isNaN(coords[1]))