Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
3f624ebaf2
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class MapUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static double checkLongitude(double longitude) {
|
public static double checkLongitude(double longitude) {
|
||||||
if (longitude > MIN_LONGITUDE && longitude <= MAX_LONGITUDE) {
|
if (longitude >= MIN_LONGITUDE && longitude <= MAX_LONGITUDE) {
|
||||||
return longitude;
|
return longitude;
|
||||||
}
|
}
|
||||||
while (longitude <= MIN_LONGITUDE || longitude > MAX_LONGITUDE) {
|
while (longitude <= MIN_LONGITUDE || longitude > MAX_LONGITUDE) {
|
||||||
|
|
Loading…
Reference in a new issue