Update: 2026-06-11 13:47:39

This commit is contained in:
Hamza-Ayed
2026-06-11 13:47:40 +03:00
parent 977adfe99d
commit c5170a88d2
516 changed files with 3654 additions and 3321 deletions

View File

@@ -37,7 +37,8 @@ class GoogleDriverMap extends StatelessWidget {
: IntaleqMapType.light,
zoomControlsEnabled: false,
initialCameraPosition: CameraPosition(
target: controller.smoothedLocation ?? locationController.myLocation,
target:
controller.smoothedLocation ?? locationController.myLocation,
zoom: 17,
bearing: controller.smoothedHeading,
tilt: 60,
@@ -67,6 +68,15 @@ class GoogleDriverMap extends StatelessWidget {
position: controller.latLngPassengerLocation,
icon: controller.startIcon,
),
if (!controller.isRideStarted &&
controller.upcomingPathPoints.isNotEmpty &&
controller.walkIcon != null)
Marker(
markerId: const MarkerId('walk_end_marker'),
position: controller.upcomingPathPoints.last,
icon: controller.walkIcon!,
anchor: const Offset(0.5, 0.5),
),
if (controller.latLngPassengerDestination.latitude != 0 ||
controller.latLngPassengerDestination.longitude != 0)
Marker(