addMarker method

Future<bool> addMarker (
  1. BMFMarker marker
)

地图添加Marker

BMFMarker marker 大头针

bool 成功返回true 失败false

Implementation

Future<bool> addMarker(BMFMarker marker) async {
  return await BMFMapDispatcherFactory.instance.markerDispatcher
      .addMarker(_mapChannel, marker);
}