1
0
Fork 0
forked from 0x2620/oxjs

improve listmap editing functionality

This commit is contained in:
rolux 2011-05-24 08:15:44 +02:00
commit e80b7bd8e3
8 changed files with 105 additions and 33 deletions

View file

@ -126,6 +126,7 @@ Ox.load.Geo = function(options, callback) {
@*/
Ox.getCountryByGeoname = function(geoname) {
// fixme: UAE correction doesn't belong here, fix in map
geoname = geoname.replace(' - United Arab Emirates', ', United Arab Emirates')
return Ox.getCountryByName(
geoname.split(', ').pop()