fix min/max longitude
This commit is contained in:
parent
7c2f8aa967
commit
178e2bc487
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue