forked from 0x2620/oxjs
use Ox.api in Ox.List and Ox.Map
This commit is contained in:
parent
997b704f8b
commit
7b7bedb65a
4 changed files with 45 additions and 8 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue