update map (for arctic/antartic results)

This commit is contained in:
rolux 2011-06-14 15:41:34 +02:00
parent 1e1bfa6ce3
commit 7a38795314

View file

@ -873,8 +873,8 @@ Ox.Map = function(options, self) {
place.west = -179.99999999;
place.east = 179.99999999;
}
place.south = Ox.limit(place.south, Ox.MIN_LATITUDE, Ox.MAX_LATITUDE);
place.north = Ox.limit(place.north, Ox.MIN_LATITUDE, Ox.MAX_LATITUDE);
place.south = Ox.limit(place.south, Ox.MIN_LATITUDE, Ox.MAX_LATITUDE - 0.00000001);
place.north = Ox.limit(place.north, Ox.MIN_LATITUDE + 0.00000001, Ox.MAX_LATITUDE);
function getCountryCode(components) {
countryCode = '';
Ox.forEach(components, function(component) {