2/6/1
This commit is contained in:
@@ -148,6 +148,19 @@ class GoogleMapPassengerWidget extends StatelessWidget {
|
||||
position: carLocation,
|
||||
icon: controller.carIcon,
|
||||
markerId: MarkerId(carLocation.toString())),
|
||||
for (int i = 1;
|
||||
i < controller.coordinatesWithoutEmpty.length - 1;
|
||||
i++)
|
||||
Marker(
|
||||
// anchor: const Offset(4, 4),
|
||||
position: LatLng(
|
||||
double.parse(controller.coordinatesWithoutEmpty[i]
|
||||
.split(',')[0]),
|
||||
double.parse(controller.coordinatesWithoutEmpty[i]
|
||||
.split(',')[1])),
|
||||
icon: controller.tripIcon,
|
||||
markerId: MarkerId(
|
||||
controller.coordinatesWithoutEmpty[i].toString())),
|
||||
if (controller.isMarkersShown)
|
||||
Marker(
|
||||
markerId: MarkerId('MyLocation'.tr),
|
||||
|
||||
Reference in New Issue
Block a user