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

@ -173,6 +173,7 @@ Ox.api = function(items, options) {
data.items = result.data.items.length;
if (api.geo) {
/*
fixme: slow, disabled
data.area = Ox.joinAreas(result.data.items.map(function(item) {
return {
sw: {lat: item.south, lng: item.west},