Почему не определется город через сайт геолокации https://geobytes.com/ ? Как сделать чтобы определился?

Вот сайт геолокации с которого должен быть получен город https://geobytes.com/

var get_geo_info = function() {
      return $.getJSON('http://gd.geobytes.com/GetCityDetails?callback=?');
    }



if (cookIe_citY) {
          set_current_city();
          construct();
          console.log('set by cookie: '+cookIe_citY);
      } else if (options.geo) {
        get_geo_info().promise().done(function(data){
          var name = data.geobytescity.toLowerCase();
          set_current_city(name);
          construct();
          console.log('set by geo: '+name);
          //set_city(name);
        });
      } else {
        console.log('set by default: '+name);
        set_current_city();
        construct();
      }

Ответы (0 шт):