zoomToBoundingBox method

Future<void> zoomToBoundingBox(
  1. BoundingBox box, {
  2. int paddinInPixel = 0,
})
inherited

Implementation

Future<void> zoomToBoundingBox(BoundingBox box,
    {int paddinInPixel = 0}) async {
  await promiseToFuture(interop.flyToBounds(
    mapIdMixin,
    box.toBoundsJS(),
    paddinInPixel,
  ));
}