This commit is contained in:
Hamza-Ayed
2023-09-27 18:30:21 +03:00
parent 7290e5ecc7
commit 5ca5d91cc9
21 changed files with 414 additions and 189 deletions

View File

@@ -63,10 +63,10 @@ GetBuilder<MapController> formSearchPlaces() {
confirm: MyElevatedButton(
title: 'Confirm'.tr,
onPressed: () async {
controller.clearpolyline();
controller.clearPolyline();
controller.data = [];
await controller.getMap(
'${controller.mylocation.latitude.toString()},${controller.mylocation.longitude.toString()}',
'${controller.myLocation.latitude.toString()},${controller.myLocation.longitude.toString()}',
"${res['geometry']['location']['lat']},${res['geometry']['location']['lng']}");
controller.places = [];
controller.placeController.clear();