update geo module
This commit is contained in:
parent
2b394ca28b
commit
e0d4dd3bec
1619 changed files with 6021 additions and 686370 deletions
|
|
@ -1,4 +1,4 @@
|
|||
Ox.load({UI: {}, Geo: {}}, function() {
|
||||
Ox.load({UI: {theme: 'modern'}, Geo: {}}, function() {
|
||||
|
||||
var $list = Ox.IconList({
|
||||
//borderRadius: 32,
|
||||
|
|
@ -6,9 +6,10 @@ Ox.load({UI: {}, Geo: {}}, function() {
|
|||
return {
|
||||
height: size,
|
||||
id: data.code,
|
||||
info: data.code,
|
||||
title: data.name,
|
||||
url: Ox.getImageByGeoname('icon', 256, data.name),
|
||||
info: data.region,
|
||||
title: data.name + ' (' + data.code + ')',
|
||||
url: Ox.getFlagByGeoname(data.name, 256),
|
||||
//url: '../../tools/_geo3/svg/icons/' + data.code + '.svg',
|
||||
width: size
|
||||
}
|
||||
},
|
||||
|
|
@ -30,7 +31,7 @@ Ox.load({UI: {}, Geo: {}}, function() {
|
|||
],
|
||||
orientation: 'vertical'
|
||||
})
|
||||
.appendTo(Ox.UI.$body)
|
||||
.appendTo(Ox.UI.$body);
|
||||
|
||||
/*
|
||||
Ox.UI.$window.resize(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue