forked from 0x2620/oxjs
improve listmap editing functionality
This commit is contained in:
parent
2996bc9e8b
commit
e80b7bd8e3
8 changed files with 105 additions and 33 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue