$.getJSON('js/map.json', function(data){ $.each(data, function (infoIndex, info){ var city = info.children; for(var i =0;i