update to rog_only
This commit is contained in:
@ -510,6 +510,9 @@ class DestinationController extends GetxController {
|
||||
current_lat = position != null ? position.latitude : 0;
|
||||
current_lon = position != null ? position.longitude : 0;
|
||||
|
||||
indexController.current_lat = position != null ? position.latitude : 0;
|
||||
current_lon = position != null ? position.longitude : 0;
|
||||
|
||||
print("==== gps skip is : ${skip_gps.toString()}, selected is ${is_gps_selected} , ${current_lat}");
|
||||
|
||||
if(is_gps_selected.value){
|
||||
@ -721,7 +724,7 @@ class DestinationController extends GetxController {
|
||||
DestinationService.getDestinationLine(points, matrix)?.then((value){
|
||||
indexController.routePoints = value;
|
||||
indexController.routePointLenght.value = indexController.routePoints.length;
|
||||
Get.toNamed(AppPages.TRAVEL);
|
||||
//Get.toNamed(AppPages.TRAVEL);
|
||||
});
|
||||
destinationCount.value = destinations.length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user