1
0
Fork 0
forked from 0x2620/oxjs

use Ox.api in Ox.List and Ox.Map

This commit is contained in:
rolux 2012-04-04 09:06:55 +02:00
commit 7b7bedb65a
4 changed files with 45 additions and 8 deletions

View file

@ -207,7 +207,10 @@ Ox.Map = function(options, self) {
place.id = Ox.encodeBase32(Ox.uid());
}
});
self.options.places = Ox.api(self.options.places, {geo: true});
self.options.places = Ox.api(self.options.places, {
geo: true,
sort: '-area'
});
}
self.mapHeight = getMapHeight();