From 1cdb28d2fc6d48967e3519c4656cedeed368927a Mon Sep 17 00:00:00 2001 From: Roman Inflianskas Date: Sat, 28 May 2016 09:48:48 +0300 Subject: [PATCH] LATITUDE and LONGITUDE constants --- OsmAnd-java/src/net/osmand/util/MapUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/util/MapUtils.java b/OsmAnd-java/src/net/osmand/util/MapUtils.java index 8665a3b4b8..8b9081fcb9 100644 --- a/OsmAnd-java/src/net/osmand/util/MapUtils.java +++ b/OsmAnd-java/src/net/osmand/util/MapUtils.java @@ -141,7 +141,7 @@ public class MapUtils { } public static double checkLatitude(double latitude) { - if (latitude >= MIN_LATITUDE && latitude <= MAX_LATITUDE) { + if (latitude > LATITUDE_MIN && latitude <= LATITUDE_MAX) { return latitude; } while (latitude < -90 || latitude > 90) {