إضافة الهوية الجديدة Tripz
This commit is contained in:
@@ -319,7 +319,8 @@ class LocationSearchController extends GetxController {
|
||||
rideLifecycle.resetNoRideSearch();
|
||||
}
|
||||
|
||||
Log.print('LocationSearchController: Reverse geocoding deferred — will run when map is idle.');
|
||||
Log.print(
|
||||
'LocationSearchController: Reverse geocoding deferred — will run when map is idle.');
|
||||
|
||||
OfflineMapService.instance
|
||||
.downloadRegion(passengerLocation, radiusKm: 10.0);
|
||||
@@ -506,11 +507,13 @@ class LocationSearchController extends GetxController {
|
||||
target.longitude,
|
||||
);
|
||||
if (distanceDelta < 20.0) {
|
||||
Log.print('📍 updateCurrentLocationFromCamera: Skipped (المسافة ${distanceDelta.toStringAsFixed(1)}م < 20م)');
|
||||
Log.print(
|
||||
'📍 updateCurrentLocationFromCamera: Skipped (المسافة ${distanceDelta.toStringAsFixed(1)}م < 20م)');
|
||||
return;
|
||||
}
|
||||
|
||||
Log.print('📍 updateCurrentLocationFromCamera: $target (تغيير ${distanceDelta.toStringAsFixed(1)}م)');
|
||||
Log.print(
|
||||
'📍 updateCurrentLocationFromCamera: $target (تغيير ${distanceDelta.toStringAsFixed(1)}م)');
|
||||
newMyLocation = target;
|
||||
|
||||
if (_pendingGeocode) {
|
||||
@@ -559,7 +562,8 @@ class LocationSearchController extends GetxController {
|
||||
);
|
||||
if (distanceDelta < 20.0) return;
|
||||
|
||||
Log.print('📸 onCameraMoveThrottled: ${pos.target} (تغيير ${distanceDelta.toStringAsFixed(1)}م)');
|
||||
Log.print(
|
||||
'📸 onCameraMoveThrottled: ${pos.target} (تغيير ${distanceDelta.toStringAsFixed(1)}م)');
|
||||
int waypointsLength = Get.find<WayPointController>().wayPoints.length;
|
||||
int index = wayPointIndex;
|
||||
if (waypointsLength > 0 && index < placesCoordinate.length) {
|
||||
@@ -900,7 +904,8 @@ class LocationSearchController extends GetxController {
|
||||
mapEngine.heightBottomSheetShown = 250;
|
||||
update();
|
||||
|
||||
mySnackbarInfo('Route and prices have been calculated successfully!'.tr);
|
||||
mySnackbarInfo(
|
||||
'Route and prices have been calculated successfully!'.tr);
|
||||
}
|
||||
} else {
|
||||
Log.print('⚠️ Could not extract valid coordinates from link: $link');
|
||||
|
||||
Reference in New Issue
Block a user