getBounds method
Implementation
Future<BoundingBox> getBounds() async {
final boundingBoxMap = (await interop.getBounds(mapIdMixin.toJS).toDart)
.dartify() as Map<String, double>?;
if (boundingBoxMap == null) {
throw Exception("web osm : error to get bounds");
}
return BoundingBox.fromMap(Map<String, double>.from(boundingBoxMap));
}