updateIndexs method
- List<
int> indexs
更新索引
Android在以colors渲染的情况下,更新纹理是无效的,应该使用updateColors接口
Implementation
Future<bool> updateIndexs(List<int> indexs) async {
if (null == indexs) {
return false;
}
this.indexs = indexs;
return await BMFMapDispatcherFactory.instance
.getOverlayDispatcher()
.updateOverlayMemberDispatch(this.getMethodChannel(), {
'id': this.getId(),
'member': 'indexs',
'value': indexs?.map((index) => index)?.toList(),
});
}