widgets/digTheEarth/Widget.js
@@ -175,12 +175,9 @@ that.handlerPolygon = handlerPolygon; }, handlerPolygon: '', closesDigTheEarth: function (froms) { closesDigTheEarth: function () { // console.log('gaunbi'); var that = this; if (froms == 'frist') { // console.log('frist'); } else { that.map.scene.globe.removeAllExcavationRegion(); if (that.handlerPolygon.polygon) { that.handlerPolygon.polygon.show = false; @@ -189,7 +186,7 @@ that.handlerPolygon.polyline.show = false; } that.handlerPolygon.deactivate(); } }, onOpen: function () {