| | |
| | | introduce: e.layer._id, |
| | | } |
| | | ); |
| | | }); |
| | | //移动事件 |
| | | tileset.on(that.DC.MouseEventType.MOUSE_MOVE, (e) => { |
| | | //高亮 |
| | | silhouetteBlue.selected = []; |
| | | |
| | | if (that.DC.Namespace.Cesium.defined(highlighted.feature)) { |
| | |
| | | ); |
| | | } |
| | | }); |
| | | //移动事件 |
| | | // tileset.on(that.DC.MouseEventType.MOUSE_MOVE, (e) => { |
| | | // silhouetteBlue.selected = []; |
| | | |
| | | // if (that.DC.Namespace.Cesium.defined(highlighted.feature)) { |
| | | // highlighted.feature.color = highlighted.originalColor; |
| | | // highlighted.feature = undefined; |
| | | // } |
| | | |
| | | // if (e.feature !== selected.feature) { |
| | | // silhouetteBlue.selected = [e.feature]; |
| | | |
| | | // highlighted.feature = e.feature; |
| | | |
| | | // that.DC.Namespace.Cesium.Color.clone( |
| | | // e.feature.color, |
| | | // highlighted.originalColor |
| | | // ); |
| | | // e.feature.color = that.DC.Namespace.Cesium.Color.fromBytes( |
| | | // 155, |
| | | // 255, |
| | | // 175 |
| | | // ); |
| | | // } |
| | | // }); |
| | | tilesetLayer["changesilhouetteBlue"] = () => { |
| | | silhouetteBlue.selected = []; |
| | | }; |