zoomToBoundingBox method
this method used to change zoom level to show specific region,
get box and paddinInPixel as parameter
box : (BoundingBox) the region that the map will move to and adjust the zoom level to be visible
paddinInPixel : (int) padding that will be used to show specific region
Implementation
Future<void> zoomToBoundingBox(
BoundingBox box, {
int paddinInPixel = 0,
}) async {
await osmBaseController.zoomToBoundingBox(
box,
paddinInPixel: paddinInPixel,
);
}