updateTextures method

Future<bool> updateTextures (
  1. List<String> textures
)

更新纹理textures (ios暂不支持)

Implementation

Future<bool> updateTextures(List<String> textures) async {
  if (null == textures) {
    return false;
  }

  bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
      .updatePolylineMember(this.methodChannel, {
    'id': this.Id,
    'member': 'textures',
    'value': textures?.map((e) => e)?.toList()
  });

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

  return ret;
}