diff --git a/mapview/js/mapviewgl.js b/mapview/js/mapviewgl.js index 36c26e9..051a270 100644 --- a/mapview/js/mapviewgl.js +++ b/mapview/js/mapviewgl.js @@ -17,7 +17,7 @@ function init() { // Load Data var xmlhttp = new XMLHttpRequest(); var url = "js/empiredata.json"; - var jsonEmpire; + var jsonEmpire=[]; xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {