|
|
@@ -282,6 +282,10 @@ var HueGeo = {
|
|
|
}
|
|
|
return null;
|
|
|
},
|
|
|
+ getISOAlpha3: function (code) {
|
|
|
+ var _country = HueGeo.getCountryFromCode(code);
|
|
|
+ return _country ? _country.alpha3 : "ATA";
|
|
|
+ },
|
|
|
getCity: function (city, callback) {
|
|
|
var api = new NominatimAPI();
|
|
|
api.lookupCity(city, function (rawdata) {
|