fix(imagedata): image from origin data

This commit is contained in:
thinkinggis 2019-04-10 19:50:29 +08:00
parent 3ed533776c
commit 66f0e94fa4
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ export default class imageLayer extends Layer {
const source = this.layerSource;
const { opacity } = this.get('styleOptions');
// 加载 完成事件
source.data.images.then(images => {
source.originData.images.then(images => {
this.layerData[0].images = images;
const buffer = new ImageBuffer({
layerData: this.layerData