minor changes

This commit is contained in:
rolux 2012-04-07 01:44:02 +02:00
parent de857d0af2
commit 05af168413

View file

@ -420,26 +420,26 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() {
keys: ['population'],
markerColor: function(place) {
return place.population === void 0 ? [128, 128, 128]
: place.population > 10000000 ? [255, 0, 0]
: place.population > 5000000 ? [255, 32, 0]
: place.population > 2000000 ? [255, 64, 0]
: place.population > 1000000 ? [255, 96, 0]
: place.population > 500000 ? [255, 128, 0]
: place.population > 200000 ? [255, 160, 0]
: place.population > 100000 ? [255, 192, 0]
: place.population > 50000 ? [255, 224, 0]
: place.population >= 10000000 ? [255, 0, 0]
: place.population >= 5000000 ? [255, 32, 0]
: place.population >= 2000000 ? [255, 64, 0]
: place.population >= 1000000 ? [255, 96, 0]
: place.population >= 500000 ? [255, 128, 0]
: place.population >= 200000 ? [255, 160, 0]
: place.population >= 100000 ? [255, 192, 0]
: place.population >= 50000 ? [255, 224, 0]
: [255, 255, 0];
},
markerSize: function(place) {
return place.population === void 0 ? 16
: place.population > 10000000 ? 24
: place.population > 5000000 ? 22
: place.population > 2000000 ? 20
: place.population > 1000000 ? 18
: place.population > 500000 ? 16
: place.population > 200000 ? 14
: place.population > 100000 ? 12
: place.population > 50000 ? 10
: place.population >= 10000000 ? 24
: place.population >= 5000000 ? 22
: place.population >= 2000000 ? 20
: place.population >= 1000000 ? 18
: place.population >= 500000 ? 16
: place.population >= 200000 ? 14
: place.population >= 100000 ? 12
: place.population >= 50000 ? 10
: 8;
},
places: cities,