takeSnapshotWithRect method

Future<Uint8List> takeSnapshotWithRect (
  1. BMFMapRect rect
)

获得地图指定区域截图 (ios) 处理方式

指定区域的截取的Image

Implementation

Future<Uint8List> takeSnapshotWithRect(BMFMapRect rect) async {
  return await BMFMapDispatcherFactory.instance
      .getMapStateDispatcher()
      .takeSnapshotWithRectDispatch(_mapChannel, rect);
}