|
@@ -177,14 +177,15 @@ export default {
|
|
|
this.zoomTo(id, geom);
|
|
|
} else if (dataSourceList[id]) {
|
|
|
dataSourceList[id].show = iseyes;
|
|
|
+ this.tempdataSourcesId = null;
|
|
|
} else if (geom) {
|
|
|
this.addPolygon(geom, id, color);
|
|
|
}
|
|
|
},
|
|
|
zoomTo(id, geom) {
|
|
|
// if (dataSourceList[id]) viewer.zoomTo(dataSourceList[id]);
|
|
|
- this.tempdataSourcesId = id;
|
|
|
- this.addPolygon(geom, id, "#ff0000");
|
|
|
+ this.tempdataSourcesId = "zoom" + id;
|
|
|
+ this.addPolygon(geom, "zoom" + id, "#ff0000");
|
|
|
},
|
|
|
setEchart(data, id, childid) {
|
|
|
this.$nextTick(() => {
|