Add map survey view - to measure a point

This commit is contained in:
2025-09-10 14:46:51 +02:00
parent 6c7ceac1a6
commit a3b2deec21
9 changed files with 1763 additions and 5 deletions
@@ -124,7 +124,7 @@ class NavigationViewController extends GetxController {
RxInt vehicleNumber = 5.obs;
late Location internalGpsLogger;
Location internalGpsLocation = Location();
late StreamSubscription<LocationData> internalGpsLocationSubscription;
late StreamSubscription<LocationData>? internalGpsLocationSubscription;
late List<Polyline<Object>> pathLayer = [];
@@ -193,7 +193,7 @@ class NavigationViewController extends GetxController {
// internalGpsLogTimer.cancel();
// }
internalGpsLocationSubscription.cancel();
internalGpsLocationSubscription!.cancel();
}
@override