diff --git a/js/visitor-map.js b/js/visitor-map.js index 91045336de07c77ee014caef44036fa1d1770b87..3a1d5021895a048a4af8b4b1bd54a60d6d359c4a 100644 --- a/js/visitor-map.js +++ b/js/visitor-map.js @@ -735,10 +735,10 @@ UserCountryMap.run = function(config) { // get visits per city from API $.ajax({ - url: 'index.php', - data: _reportParams('UserCountry', 'getCity', UserCountryMap.countriesByIso[iso].iso2), + url: 'index.php?' + $.params(_reportParams('UserCountry', 'getCity', UserCountryMap.countriesByIso[iso].iso2)), + //data: _reportParams('UserCountry', 'getCity', UserCountryMap.countriesByIso[iso].iso2), dataType: 'json', - type: 'POST', + type: 'GET', success : function(data) { loadingComplete();