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
} : result.data.items.reduce(function(prev, curr) {
return {
south: Ox.min(prev.south, curr.south),
west: Ox.min(prev.west, curr.west),
north: Ox.max(prev.north, curr.north),
east: Ox.max(prev.east. curr.east)
south: Math.min(prev.south, curr.south),
west: Math.min(prev.west, curr.west),
north: Math.max(prev.north, curr.north),
east: Math.max(prev.east. curr.east)
};
}, {
south: Ox.MAX_LATITUDE,