window.PDelevationTool = null; //坡度分析
|
window.DXTerrainFlattening = null; //地形压平
|
window.TSExcavation = null; //通视分析
|
|
function ClearAlayse() {
|
if (window.PDelevationTool != null) {
|
window.PDelevationTool.type = "none";
|
window.PDelevationTool.render();
|
window.PDelevationTool = null;
|
}
|
|
if (window.DXTerrainFlattening != null) {
|
DXTerrainFlattening.remove();
|
DXTerrainFlattening = null;
|
}
|
if (window.TSExcavation != null) {
|
window.TSExcavation.deleteObject();
|
window.TSExcavation = null;
|
}
|
}
|