From 178e2bc48734d38ba00f62106635c9a8ab482ab2 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 19 Jun 2012 18:04:48 +0200 Subject: [PATCH] fix min/max longitude --- source/Ox/js/Array.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox/js/Array.js b/source/Ox/js/Array.js index 36cbda9d..bedecac8 100644 --- a/source/Ox/js/Array.js +++ b/source/Ox/js/Array.js @@ -226,9 +226,9 @@ Ox.api = function(items, options) { */ data.area = data.items == 0 ? { south: -Ox.MAX_LATITUDE, - west: -180, + west: -179, north: Ox.MAX_LATITUDE, - east: 180 + east: 179 } : result.data.items.reduce(function(prev, curr) { return { south: Math.min(prev.south, curr.south),