addMarkers method

Future<bool> addMarkers (
  1. List<BMFMarker> markers
)

地图添加Markers

BMFMarker集合 markers 大头针list,

bool 成功返回true 失败false

Implementation

Future<bool> addMarkers(List<BMFMarker> markers) async {
  return await BMFMapDispatcherFactory.instance.markerDispatcher
      .addMarkers(_mapChannel, markers);
}