This commit is contained in:
rolux 2012-06-19 18:01:48 +02:00
parent a544de5c60
commit f7b0fb6893

View file

@ -231,10 +231,10 @@ Ox.api = function(items, options) {
east: 180 east: 180
} : result.data.items.reduce(function(prev, curr) { } : result.data.items.reduce(function(prev, curr) {
return { return {
south: Ox.min(prev.south, curr.south), south: Math.min(prev.south, curr.south),
west: Ox.min(prev.west, curr.west), west: Math.min(prev.west, curr.west),
north: Ox.max(prev.north, curr.north), north: Math.max(prev.north, curr.north),
east: Ox.max(prev.east. curr.east) east: Math.max(prev.east. curr.east)
}; };
}, { }, {
south: Ox.MAX_LATITUDE, south: Ox.MAX_LATITUDE,