4/3/3
This commit is contained in:
@@ -105,9 +105,9 @@ class MapDriverController extends GetxController {
|
||||
myLocation = myLocation;
|
||||
mapController = controller;
|
||||
controller.getVisibleRegion();
|
||||
controller.animateCamera(
|
||||
CameraUpdate.newLatLng(Get.find<LocationController>().myLocation),
|
||||
);
|
||||
// controller.animateCamera(
|
||||
// CameraUpdate.newLatLng(Get.find<LocationController>().myLocation),
|
||||
// );
|
||||
// Set up a timer or interval to trigger the marker update every 3 seconds.
|
||||
// timer = Timer.periodic(const Duration(seconds: 1), (_) {
|
||||
// updateMarker();
|
||||
@@ -895,7 +895,7 @@ class MapDriverController extends GetxController {
|
||||
addCustomStartIcon();
|
||||
addCustomEndIcon();
|
||||
// updateMarker();
|
||||
updateLocation();
|
||||
// updateLocation();
|
||||
startTimerToShowPassengerInfoWindowFromDriver();
|
||||
durationToAdd = Duration(seconds: int.parse(duration));
|
||||
hours = durationToAdd.inHours;
|
||||
|
||||
Reference in New Issue
Block a user