update
This commit is contained in:
@ -150,7 +150,7 @@ class DestinationController extends GetxController {
|
||||
PopulateDestinations();
|
||||
|
||||
|
||||
print("------ in iniit");
|
||||
//print("------ in iniit");
|
||||
|
||||
|
||||
|
||||
@ -195,14 +195,14 @@ class DestinationController extends GetxController {
|
||||
indexController.rogMapController!.move(LatLng(position!.latitude, position!.longitude), czoom);
|
||||
//String user_id = indexController.currentUser[0]["user"]["id"].toString();
|
||||
//TrackingService.addTrack(user_id, position!.latitude, position.longitude).then((val){
|
||||
print("---- postion is ${position.latitude}, ${position.longitude}");
|
||||
//print("---- postion is ${position.latitude}, ${position.longitude}");
|
||||
gps.clear();
|
||||
gps.add("-- lat : ${position.latitude}, lon : ${position.longitude} --");
|
||||
checkForCheckin(position!.latitude, position.longitude);
|
||||
//});
|
||||
|
||||
}
|
||||
print(position == null ? 'Unknown' : 'current position is ${position.latitude.toString()}, ${position.longitude.toString()}');
|
||||
//print(position == null ? 'Unknown' : 'current position is ${position.latitude.toString()}, ${position.longitude.toString()}');
|
||||
});
|
||||
} catch (err){
|
||||
locationPermission.clear();
|
||||
|
||||
Reference in New Issue
Block a user