diff --git a/src/Global/mouseRightMenu/index.js b/src/Global/mouseRightMenu/index.js index 891623f..818271b 100644 --- a/src/Global/mouseRightMenu/index.js +++ b/src/Global/mouseRightMenu/index.js @@ -100,14 +100,14 @@ function MouseRightMenu(sdk, status, callBack) { that = sdk.entityMap.get(entityId) } - // if (that && that.picking) { - // addedMenu = ` - // - // - // ` - // } + if (that && that.picking) { + addedMenu = ` + + + ` + } let position = tools.cartesian3Towgs84(cartesian, sdk.viewer) menuElm = document.createElement('div') menuElm.id = 'custom-menu' diff --git a/src/Obj/Base/BillboardObject/index.js b/src/Obj/Base/BillboardObject/index.js index 3bd6bfc..efcbfe7 100644 --- a/src/Obj/Base/BillboardObject/index.js +++ b/src/Obj/Base/BillboardObject/index.js @@ -433,11 +433,11 @@ class BillboardObject extends Base { value: '链接', key: 'link' }, - // { - // name: 'IP摄像头', - // value: 'IP摄像头', - // key: 'camera' - // }, + { + name: 'IP摄像头', + value: 'IP摄像头', + key: 'camera' + }, // { // name: 'ISC摄像头', // value: 'ISC摄像头', @@ -448,16 +448,16 @@ class BillboardObject extends Base { // value: '传感器', // key: 'sensor' // }, - // { - // name: '全景图', - // value: '全景图', - // key: 'vr' - // }, - // { - // name: '物资', - // value: '物资', - // key: 'goods' - // } + { + name: '全景图', + value: '全景图', + key: 'vr' + }, + { + name: '物资', + value: '物资', + key: 'goods' + } ] }