We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8567f03 commit 6b4dd76Copy full SHA for 6b4dd76
src/main/java/io/mapsmessaging/location/LocationManager.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright [ 2020 - 2023 ] [Matthew Buckton]
+ * Copyright [ 2020 - 2024 ] [Matthew Buckton]
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -36,10 +36,12 @@ public static LocationManager getInstance() {
36
public synchronized void setPosition(double latitude, double longitude) {
37
this.latitude = (latitude);
38
this.longitude = (longitude);
39
+ set = true;
40
}
41
42
private LocationManager() {
43
longitude = Double.NaN;
44
latitude = Double.NaN;
45
+ set = false;
46
47
0 commit comments