mirror of https://gitee.com/antv-l7/antv-l7
fix(imagedata): image from origin data
This commit is contained in:
parent
3ed533776c
commit
66f0e94fa4
|
@ -9,7 +9,7 @@ export default class imageLayer extends Layer {
|
||||||
const source = this.layerSource;
|
const source = this.layerSource;
|
||||||
const { opacity } = this.get('styleOptions');
|
const { opacity } = this.get('styleOptions');
|
||||||
// 加载 完成事件
|
// 加载 完成事件
|
||||||
source.data.images.then(images => {
|
source.originData.images.then(images => {
|
||||||
this.layerData[0].images = images;
|
this.layerData[0].images = images;
|
||||||
const buffer = new ImageBuffer({
|
const buffer = new ImageBuffer({
|
||||||
layerData: this.layerData
|
layerData: this.layerData
|
||||||
|
|
Loading…
Reference in New Issue