improved geodata and tools

This commit is contained in:
rolux 2011-05-23 21:38:52 +02:00
commit 912f2121a4
47 changed files with 682294 additions and 3535 deletions

View file

@ -1,7 +1,6 @@
Ox.load('UI', {debug: true}, function() {
Ox.load('Geo', function() {
$.getJSON('json/countries.json', function(data) {
Ox.load('Geo', function() {
var width = window.innerWidth - 256,
height = window.innerHeight,
@ -9,7 +8,7 @@ Ox.load('Geo', function() {
clickable: true,
editable: true,
height: height,
places: data.map(function(place) {
places: Ox.COUNTRIES.map(function(place) {
return Ox.extend({
countryCode: place.code,
editable: true,
@ -55,6 +54,7 @@ Ox.load('Geo', function() {
}
],
*/
showLabels: true,
statusbar: true,
toolbar: true,
width: width,
@ -127,5 +127,4 @@ Ox.load('Geo', function() {
});
});
});