setCompassImage method

Future<bool> setCompassImage (
  1. String imagePath
)

设置罗盘的图片

imagePath 设置的图片

bool 成功返回true 失败false

Implementation

Future<bool> setCompassImage(String imagePath) async {
  return await BMFMapDispatcherFactory.instance.mapStatusDispatcher
      .setCompassImage(_mapChannel, imagePath);
}