').appendTo("#map");renderData()});function getData(a,e){jQuery.getJSON("/wp-content/themes/cws-theme-work/staysoberny/fars/combined-2019.json",function(a){var t=[];var r="
";for(var n=0;nLatitude: ";r+=a[n].latitude;r+="
Longitude: ";r+=a[n].longitude;r+="
Alcohol: Yes
";o[n].lat=parseFloat(a[n].latitude);o[n].lng=parseFloat(a[n].longitude);t.push(o[n])}}}}r+="
";e(t);return t})}function renderData(a){getData(a,function(a){var e={max:15,data:a};heatmapLayer.setData(e);jQuery(".fa-spin").remove()})}