updateImage method

Future<bool> updateImage (
  1. String image
)

更新图片, Android独有

image 绘制图片

Implementation

Future<bool> updateImage(String image) async {
  if (null == image || image.isEmpty) {
    return false;
  }

  bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
      .updateGroundMember(this.methodChannel,
          {'id': this.Id, 'member': 'image', 'value': image});

  if (ret) {
    this.image = image;
  }

  return ret;
}