解决绘制箭头面时连续获取同样的坐标时面坐标计算异常的问题
This commit is contained in:
@ -100,14 +100,14 @@ function MouseRightMenu(sdk, status, callBack) {
|
|||||||
that = sdk.entityMap.get(entityId)
|
that = sdk.entityMap.get(entityId)
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (that && that.picking) {
|
if (that && that.picking) {
|
||||||
// addedMenu = `
|
addedMenu = `
|
||||||
// <span class="divider" style="display: block;border-top: 1px solid #ddd;margin: 5px;"></span>
|
<span class="divider" style="display: block;border-top: 1px solid #ddd;margin: 5px;"></span>
|
||||||
// <ul class="added" style="list-style: none;padding: 0;margin: 0;font-size: 12px;">
|
<ul class="added" style="list-style: none;padding: 0;margin: 0;font-size: 12px;">
|
||||||
// <li style="padding: 3px 10px;cursor: pointer;">属性</li>
|
<li style="padding: 3px 10px;cursor: pointer;">属性</li>
|
||||||
// </ul>
|
</ul>
|
||||||
// `
|
`
|
||||||
// }
|
}
|
||||||
let position = tools.cartesian3Towgs84(cartesian, sdk.viewer)
|
let position = tools.cartesian3Towgs84(cartesian, sdk.viewer)
|
||||||
menuElm = document.createElement('div')
|
menuElm = document.createElement('div')
|
||||||
menuElm.id = 'custom-menu'
|
menuElm.id = 'custom-menu'
|
||||||
|
@ -433,11 +433,11 @@ class BillboardObject extends Base {
|
|||||||
value: '链接',
|
value: '链接',
|
||||||
key: 'link'
|
key: 'link'
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// name: 'IP摄像头',
|
name: 'IP摄像头',
|
||||||
// value: 'IP摄像头',
|
value: 'IP摄像头',
|
||||||
// key: 'camera'
|
key: 'camera'
|
||||||
// },
|
},
|
||||||
// {
|
// {
|
||||||
// name: 'ISC摄像头',
|
// name: 'ISC摄像头',
|
||||||
// value: 'ISC摄像头',
|
// value: 'ISC摄像头',
|
||||||
@ -448,16 +448,16 @@ class BillboardObject extends Base {
|
|||||||
// value: '传感器',
|
// value: '传感器',
|
||||||
// key: 'sensor'
|
// key: 'sensor'
|
||||||
// },
|
// },
|
||||||
// {
|
{
|
||||||
// name: '全景图',
|
name: '全景图',
|
||||||
// value: '全景图',
|
value: '全景图',
|
||||||
// key: 'vr'
|
key: 'vr'
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// name: '物资',
|
name: '物资',
|
||||||
// value: '物资',
|
value: '物资',
|
||||||
// key: 'goods'
|
key: 'goods'
|
||||||
// }
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user