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