forked from 0x2620/oxjs
reducing textlist item construction time by about 80%
This commit is contained in:
parent
ca905a54bb
commit
4eef6ece64
3 changed files with 17 additions and 6 deletions
|
|
@ -23,7 +23,7 @@ Ox.load('Geo', function() {
|
|||
area = Math.sqrt(city.population * 100),
|
||||
latSize = area / Ox.EARTH_CIRCUMFERENCE * 360,
|
||||
lngSize = area * Ox.getDegreesPerMeter(city.latitude);
|
||||
return city.population > 600000/*400000*/ ? {
|
||||
return city.population > 400000/*400000*/ ? {
|
||||
area: city.population * 100,
|
||||
countryCode: countryCode,
|
||||
editable: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue