Issue #6505 - (-) is not recognized in GPS format input - fixed
This commit is contained in:
parent
5348dffdae
commit
ed8eebd086
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ public class LocationParser {
|
|||
Double prevDouble = null;
|
||||
for (int i = begin; i <= end; i++) {
|
||||
Object o = i == end ? "" : all.get(i);
|
||||
if(o.equals("S") || o.equals("W")) {
|
||||
if(o.equals("S") || o.equals("W") || o.equals(-0.0)) {
|
||||
neg = !neg;
|
||||
}
|
||||
if (prevDouble != null) {
|
||||
|
|
Loading…
Reference in a new issue