addPolyline method

Future<bool> addPolyline (
  1. BMFPolyline polyline
)

地图添加Polyine

BMFPolyline polyline 折线

bool 成功返回true 失败false

Implementation

Future<bool> addPolyline(BMFPolyline polyline) async {
  return await BMFMapDispatcherFactory.instance.overlayDispatcher
      .addPolyline(_mapChannel, polyline);
}