6/15/1
This commit is contained in:
@@ -878,23 +878,9 @@ class MapDriverController extends GetxController {
|
||||
startNameLocation = Get.arguments['startNameLocation'];
|
||||
endNameLocation = Get.arguments['endNameLocation'];
|
||||
|
||||
// var coords = passengerLocation.toString().split(',');
|
||||
// var coordDestination = passengerDestination.toString().split(',');
|
||||
|
||||
// Parse to double
|
||||
latlng(passengerLocation, passengerDestination);
|
||||
// double latPassengerLocation =
|
||||
// double.parse(passengerLocation.toString().split(',')[0]);
|
||||
// double lngPassengerLocation =
|
||||
// double.parse(passengerLocation.toString().split(',')[1]);
|
||||
// double latPassengerDestination =
|
||||
// double.parse(passengerDestination.toString().split(',')[0]);
|
||||
// double lngPassengerDestination =
|
||||
// double.parse(passengerDestination.toString().split(',')[1]);
|
||||
// latLngPassengerLocation =
|
||||
// LatLng(latPassengerLocation, lngPassengerLocation);
|
||||
// latLngPassengerDestination =
|
||||
// LatLng(latPassengerDestination, lngPassengerDestination);
|
||||
|
||||
String lat = Get.find<LocationController>().myLocation.latitude.toString();
|
||||
String lng = Get.find<LocationController>().myLocation.longitude.toString();
|
||||
String origin = '$lat,$lng';
|
||||
|
||||
Reference in New Issue
Block a user