|
@@ -416,8 +416,13 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mapSelect(movement) {
|
|
|
- console.log(window.tempSelect,'window.tempSelect');
|
|
|
- this.drawPolygon(window.tempSelect)
|
|
|
+ console.log(window.tempSelect, "window.tempSelect");
|
|
|
+ let url1 = window.tempSelect.url.replace("3D-", "data-");
|
|
|
+ let url2 = url1.replace(
|
|
|
+ "realspace",
|
|
|
+ "data/featureResults.rjson?returnContent=true"
|
|
|
+ );
|
|
|
+ // this.drawPolygon(window.tempSelect)
|
|
|
// //拾取模型
|
|
|
// let pickedFeature = viewer.scene.pick(movement.position);
|
|
|
// console.log(pickedFeature, "pickedFeature");
|