getBounds method

  1. @override
Future<BoundingBox> getBounds(
  1. int idOSM
)
override

Implementation

@override
Future<BoundingBox> getBounds(int idOSM) async {
  final Map mapBounds = await _channels[idOSM]?.invokeMethod('map#bounds');
  return BoundingBox.fromMap(mapBounds);
}