This commit is contained in:
Hamza-Ayed
2024-04-03 13:03:45 +03:00
parent 2ee9a8cf8d
commit 342a922832
2 changed files with 9 additions and 7 deletions

View File

@@ -31,7 +31,8 @@ class GoogleDriverMap extends StatelessWidget {
onCameraMoveStarted: () {},
onCameraMove: (position) {
locationController.myLocation = position.target;
print(position);
controller.mapController!
.animateCamera(CameraUpdate.newCameraPosition(position));
},
minMaxZoomPreference: const MinMaxZoomPreference(6, 18),
myLocationEnabled: true,