add zoom after click
This commit is contained in:
@@ -252,6 +252,7 @@ class _MapboxPagesState extends State<MapboxPages> with ShowAlertDialog {
|
|||||||
lineColor: Colors.blue.value,
|
lineColor: Colors.blue.value,
|
||||||
lineWidth: 4.0,
|
lineWidth: 4.0,
|
||||||
));
|
));
|
||||||
|
await _zoomToFitRoute(routeCoordinates);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user