disabled gps zoom to current location when popup
This commit is contained in:
@ -176,10 +176,10 @@ class _MapWidgetState extends State<MapWidget> {
|
||||
}
|
||||
|
||||
void _centerMapOnUser() {
|
||||
indexController.mapController.move(
|
||||
LatLng(
|
||||
destinationController.currentLat, destinationController.currentLon),
|
||||
17.0);
|
||||
print("showBottomSheet ${destinationController.shouldShowBottomSheet}");
|
||||
if (destinationController.shouldShowBottomSheet) {
|
||||
destinationController.centerMapToCurrentLocation();
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user