ino-cesium 0.0.26-beta.6 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/css/ino-cesium.css +180 -106
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/ino-cesium-full.js +7 -7
- package/dist/ino-cesium.d.ts +24 -1
- package/dist/ino-cesium.js +3 -3
- package/package.json +15 -15
|
@@ -1,106 +1,180 @@
|
|
|
1
|
-
|
|
2
|
-
@import url("./div-label/indicator.css");
|
|
3
|
-
|
|
4
|
-
.cesium-widget {
|
|
5
|
-
position: relative;
|
|
6
|
-
}
|
|
7
|
-
/**---------tooltip start---------**/
|
|
8
|
-
.twipsy {
|
|
9
|
-
display: none;
|
|
10
|
-
position: absolute;
|
|
11
|
-
visibility: visible;
|
|
12
|
-
max-width: 300px;
|
|
13
|
-
min-width: 100px;
|
|
14
|
-
padding: 5px;
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
z-index: 1000;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.twipsy-inner {
|
|
20
|
-
padding: 3px 8px;
|
|
21
|
-
background-color: rgba(117, 117, 117, 0.8);
|
|
22
|
-
color: white;
|
|
23
|
-
text-align: left;
|
|
24
|
-
max-width: 300px;
|
|
25
|
-
text-decoration: none;
|
|
26
|
-
-webkit-border-radius: 4px;
|
|
27
|
-
-moz-border-radius: 4px;
|
|
28
|
-
border-radius: 4px;
|
|
29
|
-
border: 1px solid #aaa;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**---------tooltip end---------**/
|
|
33
|
-
|
|
34
|
-
/**---------draw edit ui start---------**/
|
|
35
|
-
.draw-edit-ui {
|
|
36
|
-
position: fixed;
|
|
37
|
-
left: 0;
|
|
38
|
-
top: 0;
|
|
39
|
-
width: 132px;
|
|
40
|
-
height: 28px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.draw-edit-icon {
|
|
44
|
-
width: 28px;
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
background: rgba(255, 255, 255, 1);
|
|
47
|
-
border: 1px solid #1296db;
|
|
48
|
-
padding: 2px;
|
|
49
|
-
margin-right: 5px;
|
|
50
|
-
border-radius: 50%;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**---------draw edit ui end---------**/
|
|
54
|
-
|
|
55
|
-
/**---------bottom status bar start---------**/
|
|
56
|
-
.bottom-status-bar {
|
|
57
|
-
position: absolute;
|
|
58
|
-
bottom: 0px;
|
|
59
|
-
display: flex;
|
|
60
|
-
width: 100%;
|
|
61
|
-
justify-content: space-between;
|
|
62
|
-
align-items: center;
|
|
63
|
-
z-index: 99999;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
1
|
+
|
|
2
|
+
@import url("./div-label/indicator.css");
|
|
3
|
+
|
|
4
|
+
.cesium-widget {
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
/**---------tooltip start---------**/
|
|
8
|
+
.twipsy {
|
|
9
|
+
display: none;
|
|
10
|
+
position: absolute;
|
|
11
|
+
visibility: visible;
|
|
12
|
+
max-width: 300px;
|
|
13
|
+
min-width: 100px;
|
|
14
|
+
padding: 5px;
|
|
15
|
+
font-size: 12px;
|
|
16
|
+
z-index: 1000;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.twipsy-inner {
|
|
20
|
+
padding: 3px 8px;
|
|
21
|
+
background-color: rgba(117, 117, 117, 0.8);
|
|
22
|
+
color: white;
|
|
23
|
+
text-align: left;
|
|
24
|
+
max-width: 300px;
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
-webkit-border-radius: 4px;
|
|
27
|
+
-moz-border-radius: 4px;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
border: 1px solid #aaa;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**---------tooltip end---------**/
|
|
33
|
+
|
|
34
|
+
/**---------draw edit ui start---------**/
|
|
35
|
+
.draw-edit-ui {
|
|
36
|
+
position: fixed;
|
|
37
|
+
left: 0;
|
|
38
|
+
top: 0;
|
|
39
|
+
width: 132px;
|
|
40
|
+
height: 28px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.draw-edit-icon {
|
|
44
|
+
width: 28px;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
background: rgba(255, 255, 255, 1);
|
|
47
|
+
border: 1px solid #1296db;
|
|
48
|
+
padding: 2px;
|
|
49
|
+
margin-right: 5px;
|
|
50
|
+
border-radius: 50%;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**---------draw edit ui end---------**/
|
|
54
|
+
|
|
55
|
+
/**---------bottom status bar start---------**/
|
|
56
|
+
.bottom-status-bar {
|
|
57
|
+
position: absolute;
|
|
58
|
+
bottom: 0px;
|
|
59
|
+
display: flex;
|
|
60
|
+
width: 100%;
|
|
61
|
+
justify-content: space-between;
|
|
62
|
+
align-items: center;
|
|
63
|
+
z-index: 99999;
|
|
64
|
+
/* 毛玻璃效果背景 */
|
|
65
|
+
background: linear-gradient(
|
|
66
|
+
135deg,
|
|
67
|
+
rgba(15, 23, 42, 0.85) 0%,
|
|
68
|
+
rgba(30, 41, 59, 0.8) 100%
|
|
69
|
+
);
|
|
70
|
+
backdrop-filter: blur(12px);
|
|
71
|
+
-webkit-backdrop-filter: blur(12px);
|
|
72
|
+
padding: 6px 16px;
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
font-weight: 500;
|
|
75
|
+
height: 38px;
|
|
76
|
+
/* 顶部细微发光边框 */
|
|
77
|
+
border-top: 1px solid rgba(148, 163, 184, 0.2);
|
|
78
|
+
box-shadow:
|
|
79
|
+
0 -4px 20px rgba(0, 0, 0, 0.3),
|
|
80
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
81
|
+
|
|
82
|
+
/* 信息项之间的分隔线 */
|
|
83
|
+
.status-item {
|
|
84
|
+
display: inline-flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
padding: 0 12px;
|
|
87
|
+
position: relative;
|
|
88
|
+
|
|
89
|
+
&:not(:last-child)::after {
|
|
90
|
+
content: '';
|
|
91
|
+
position: absolute;
|
|
92
|
+
right: 0;
|
|
93
|
+
top: 50%;
|
|
94
|
+
transform: translateY(-50%);
|
|
95
|
+
height: 16px;
|
|
96
|
+
width: 1px;
|
|
97
|
+
background: linear-gradient(
|
|
98
|
+
to bottom,
|
|
99
|
+
transparent,
|
|
100
|
+
rgba(148, 163, 184, 0.4),
|
|
101
|
+
transparent
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
div {
|
|
107
|
+
color: #e2e8f0;
|
|
108
|
+
border-radius: 4px;
|
|
109
|
+
margin-right: 0;
|
|
110
|
+
font-size: 13px;
|
|
111
|
+
letter-spacing: 0.3px;
|
|
112
|
+
/* 文字阴影增加可读性 */
|
|
113
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
|
114
|
+
font-family: 'JetBrains Mono', 'SF Mono', 'Monaco', monospace;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
#bottom-status-bar-camera {
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-wrap: wrap;
|
|
120
|
+
gap: 4px 16px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.scale-bar {
|
|
124
|
+
border: 2px solid #ffffff;
|
|
125
|
+
border-radius: 2px !important;
|
|
126
|
+
padding: 0 8px;
|
|
127
|
+
border-top: none !important;
|
|
128
|
+
height: 8px;
|
|
129
|
+
position: relative;
|
|
130
|
+
bottom: -4px;
|
|
131
|
+
display: flex;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
min-width: 60px;
|
|
134
|
+
/* 比例尺发光效果 */
|
|
135
|
+
box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.scale-label {
|
|
139
|
+
margin-top: -12px;
|
|
140
|
+
margin-right: 0px;
|
|
141
|
+
color: #94a3b8 !important;
|
|
142
|
+
font-size: 11px !important;
|
|
143
|
+
font-weight: 600;
|
|
144
|
+
text-transform: uppercase;
|
|
145
|
+
letter-spacing: 0.5px;
|
|
146
|
+
text-shadow: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* FPS 特殊样式 */
|
|
150
|
+
.fps-display {
|
|
151
|
+
color: #4ade80 !important;
|
|
152
|
+
font-weight: 600;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* 高程数值高亮 */
|
|
156
|
+
.height-value {
|
|
157
|
+
color: #38bdf8 !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* 角度值样式 */
|
|
161
|
+
.angle-value {
|
|
162
|
+
color: #c4b5fd !important;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**---------bottom status bar end---------**/
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
/**---------卷帘控制 start---------**/
|
|
170
|
+
#vertical-slider {
|
|
171
|
+
height: 100%;
|
|
172
|
+
width: 5px;
|
|
173
|
+
background: #d3d3d3;
|
|
174
|
+
position: fixed;
|
|
175
|
+
top: 0;
|
|
176
|
+
left: 50vw;
|
|
177
|
+
cursor: ew-resize;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**---------卷帘控制 bar end---------**/
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from"@ino-cesium/common";export*from"@ino-cesium/layers";export*from"@ino-cesium/effects";export*from"@ino-cesium/draw";export*from"@ino-cesium/primitive";export*from"@ino-cesium/analysis";export*from"@ino-cesium/material";import*as o from"cesium";export{o as Cesium};
|
|
1
|
+
export*from"@ino-cesium/common";export*from"@ino-cesium/layers";export*from"@ino-cesium/effects";export*from"@ino-cesium/draw";export*from"@ino-cesium/primitive";export*from"@ino-cesium/analysis";export*from"@ino-cesium/material";export*from"@ino-cesium/geojson";import*as o from"cesium";export{o as Cesium};
|