标记便签改为 DOM 覆盖层,修复近距离缩放漂移
This commit is contained in:
@@ -37,6 +37,20 @@ html, body {
|
||||
/* 隐藏左下角全部归属信息(Cesium ion logo + 影像文字) */
|
||||
#cesium-container .cesium-widget-credits { display: none !important; }
|
||||
|
||||
/* 标记便签 DOM 覆盖层(在 Cesium 画布之上) */
|
||||
#marker-layer {
|
||||
position: absolute; inset: 0; z-index: 20;
|
||||
pointer-events: none;
|
||||
}
|
||||
.marker-note {
|
||||
position: absolute;
|
||||
pointer-events: auto;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
transform: translateY(-50%);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* 气氛遮罩 */
|
||||
.vignette {
|
||||
position: absolute; inset: 0; pointer-events: none;
|
||||
|
||||
Reference in New Issue
Block a user