LATITUDE and LONGITUDE constants
This commit is contained in:
parent
4340405b59
commit
1cdb28d2fc
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ public class MapUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static double checkLatitude(double latitude) {
|
public static double checkLatitude(double latitude) {
|
||||||
if (latitude >= MIN_LATITUDE && latitude <= MAX_LATITUDE) {
|
if (latitude > LATITUDE_MIN && latitude <= LATITUDE_MAX) {
|
||||||
return latitude;
|
return latitude;
|
||||||
}
|
}
|
||||||
while (latitude < -90 || latitude > 90) {
|
while (latitude < -90 || latitude > 90) {
|
||||||
|
|
Loading…
Reference in a new issue