addPolygon method

Future<bool> addPolygon (
  1. BMFPolygon polygon
)

地图添加Polygon

BMFPolygon polygon 多边形

bool 成功返回true 失败false

Implementation

Future<bool> addPolygon(BMFPolygon polygon) async {
  return await BMFMapDispatcherFactory.instance.overlayDispatcher
      .addPolygon(_mapChannel, polygon);
}