Update: 2026-06-11 13:47:39
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user