mars3d 3.8.14 → 3.9.0
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/README.md +14 -28
- package/mars3d.css +301 -33
- package/mars3d.d.ts +1483 -1787
- package/mars3d.js +4 -4
- package/package.json +3 -3
- package/dist/img/cursor.png +0 -0
- package/dist/mars3d.css +0 -1111
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ import "mars3d/mars3d.css"
|
|
|
43
43
|
import * as mars3d from "mars3d";
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
> 关于引入后的具体如何使用,请参考教程[
|
|
46
|
+
> 关于引入后的具体如何使用,请参考教程[Mars3D集成到项目](http://mars3d.cn/docs/guide/npm-integration/)中了解更多信息。
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -63,9 +63,9 @@ Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
|
|
|
63
63
|
|
|
64
64
|
| 说明 | 教程 | 视频 |Github源码 | 国内Gitee源码 |
|
|
65
65
|
| ----|---- | ---- | ----| ---- |
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|React版 |[查看](http://mars3d.cn/
|
|
66
|
+
|Vue版 |[查看](http://mars3d.cn/docs/guide/example-vue/) |[查看](https://www.bilibili.com/video/BV1PL41177SS/)、[高级篇](https://www.bilibili.com/video/BV1Xv4y1a74P/)| [mars3d-vue-example](https://github.com/marsgis/mars3d-vue-example) |[mars3d-vue-example](https://gitee.com/marsgis/mars3d-vue-example) |
|
|
67
|
+
|原生JS版 | [查看](http://mars3d.cn/docs/guide/example-es5/) | [查看](https://www.bilibili.com/video/BV1Hg411o7Js/) | [mars3d-es5-example](https://github.com/marsgis/mars3d-es5-example) |[mars3d-es5-example](https://gitee.com/marsgis/mars3d-es5-example) |
|
|
68
|
+
|React版 |[查看](http://mars3d.cn/docs/guide/example-react/)|[查看](https://www.bilibili.com/video/BV1xY4y1t7NR/)、[高级篇](https://www.bilibili.com/video/BV1tX4y1Q7v7/) | [mars3d-react-example](https://github.com/marsgis/mars3d-react-example) |[mars3d-react-example](https://gitee.com/marsgis/mars3d-react-example) |
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
## 最简项目模板
|
|
@@ -73,39 +73,25 @@ Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
|
|
|
73
73
|
|
|
74
74
|
| 说明 | 视频 | Github源码 | 国内Gitee源码 |
|
|
75
75
|
| ----| ----|----| ---- |
|
|
76
|
-
|原生JS技术栈 |[查看](https://www.bilibili.com/video/BV1za41177ZW/)| [mars3d-es5-template](https://github.com/marsgis/mars3d-es5-template) |[mars3d-es5-template](https://gitee.com/marsgis/mars3d-es5-template) |
|
|
77
76
|
|Vue技术栈 |[查看](https://www.bilibili.com/video/BV17P4y1F7gv/)| [mars3d-vue-template](https://github.com/marsgis/mars3d-vue-template) |[mars3d-vue-template](https://gitee.com/marsgis/mars3d-vue-template) |
|
|
77
|
+
|原生JS技术栈 |[查看](https://www.bilibili.com/video/BV1za41177ZW/)| [mars3d-es5-template](https://github.com/marsgis/mars3d-es5-template) |[mars3d-es5-template](https://gitee.com/marsgis/mars3d-es5-template) |
|
|
78
78
|
|React技术栈 |[查看](https://www.bilibili.com/video/BV1nZ4y1b7W7/)| [mars3d-react-template](https://github.com/marsgis/mars3d-react-template) |[mars3d-react-template](https://gitee.com/marsgis/mars3d-react-template) |
|
|
79
79
|
|Angular技术栈 |[查看](https://www.bilibili.com/video/BV13Y411K7xs/) | [mars3d-angular-template](https://github.com/marsgis/mars3d-angular-template) |[mars3d-angular-template](https://gitee.com/marsgis/mars3d-angular-template) |
|
|
80
80
|
|CS桌面端程序 |[查看](https://www.bilibili.com/video/BV1N94y1R7ds/)| [mars3d-electron](https://github.com/marsgis/mars3d-electron) |[mars3d-electron](https://gitee.com/marsgis/mars3d-electron) |
|
|
81
|
-
|
|
|
81
|
+
|uni-app移动端程序 |[查看](https://www.bilibili.com/video/BV18F41157qR/)|[mars3d-uni-app](https://github.com/marsgis/mars3d-uni-app) |[mars3d-uni-app](https://gitee.com/marsgis/mars3d-uni-app) |
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
##
|
|
86
|
-
|
|
87
|
-
如果需要更多功能可以考虑购买[付费项目模板](http://
|
|
85
|
+
## 通用项目模版
|
|
86
|
+
通用项目模版是具备一个GIS项目常见功能的项目模板,只用更换数据及叠加业务即可完成项目交付。
|
|
87
|
+
如果需要更多功能可以考虑购买[付费项目模板](http://mall.marsgis.cn/#/product-list?category=project)。
|
|
88
88
|
|
|
89
89
|
|说明 |教程 |视频 | Github源码 | 国内Gitee源码 |
|
|
90
90
|
|----|---- |---- | ----| ---- |
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|基础项目 React版|[查看](http://mars3d.cn/dev/guide/project/jcxm-react.html) |[查看](https://www.bilibili.com/video/BV1n3411u7Dm/)| [mars3d-react-project](https://github.com/marsgis/mars3d-react-project) |[mars3d-react-project](https://gitee.com/marsgis/mars3d-react-project) |
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
## 其他
|
|
100
|
-
|
|
101
|
-
|说明 | Github | 国内Gitee |
|
|
102
|
-
|----|---- | ----|
|
|
103
|
-
|部分开源插件 | [mars3d-plugin](https://github.com/marsgis/mars3d-plugin) |[mars3d-plugin](https://gitee.com/marsgis/mars3d-plugin) |
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
91
|
+
|Vue通用项目模版 |[查看](http://mars3d.cn/docs/guide/project-vue/) |[查看](https://www.bilibili.com/video/BV1JF411q7Ut/)、[高级篇](https://www.bilibili.com/video/BV1rM411j78s/) | [mars3d-vue-project](https://github.com/marsgis/mars3d-vue-project) |[mars3d-vue-project](https://gitee.com/marsgis/mars3d-vue-project) |
|
|
92
|
+
| 原生JS通用项目模版 |[查看](http://mars3d.cn/docs/guide/project-es5/) | [查看](https://www.bilibili.com/video/BV1nF41157Rn/)| [mars3d-es5-project](https://github.com/marsgis/mars3d-es5-project) |[mars3d-es5-project](https://gitee.com/marsgis/mars3d-es5-project) |
|
|
93
|
+
|React通用项目模版|[查看](http://mars3d.cn/docs/guide/project-react/) |[查看](https://www.bilibili.com/video/BV1n3411u7Dm/)、[高级篇](https://www.bilibili.com/video/BV1d84y1E7gR/) | [mars3d-react-project](https://github.com/marsgis/mars3d-react-project) |[mars3d-react-project](https://gitee.com/marsgis/mars3d-react-project) |
|
|
94
|
+
|APP项目模版(Vue3+H5)| [查看](http://mars3d.cn/docs/guide/project-app/) | [查看](https://www.bilibili.com/video/BV1iY4y1t7jk/)、[高级篇](https://www.bilibili.com/video/BV1CD4y137jK/) | [mars3d-vue-app](https://github.com/marsgis/mars3d-vue-app) |[mars3d-vue-app](https://gitee.com/marsgis/mars3d-vue-app) |
|
|
109
95
|
|
|
110
96
|
|
|
111
97
|
|
|
@@ -117,7 +103,7 @@ Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
|
|
|
117
103
|
|
|
118
104
|
## 学习资料
|
|
119
105
|
|
|
120
|
-
- 开发教程:[http://mars3d.cn/
|
|
106
|
+
- 开发教程: [http://mars3d.cn/docs/](http://mars3d.cn/docs/)
|
|
121
107
|
- API文档:[http://mars3d.cn/api/](http://mars3d.cn/api/)
|
|
122
108
|
- Mars3D官网:[http://mars3d.cn](http://mars3d.cn)
|
|
123
109
|
|
package/mars3d.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars3D三维可视化平台 mars3d
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.
|
|
5
|
-
* 编译日期:2025-
|
|
4
|
+
* 版本信息:v3.9.0
|
|
5
|
+
* 编译日期:2025-02-15 11:56
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
7
|
-
* 使用单位:火星科技免费公开版 ,
|
|
7
|
+
* 使用单位:火星科技免费公开版 ,2025-02-01
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**地球容器div*/
|
|
@@ -113,12 +113,12 @@
|
|
|
113
113
|
.mars3d-contextmenu-ul > .active > a:hover,
|
|
114
114
|
.mars3d-contextmenu-ul > .active > a:focus {
|
|
115
115
|
color: #fff;
|
|
116
|
-
background-color: #
|
|
116
|
+
background-color: var(--mars-hover-color, #3ea6ff);
|
|
117
117
|
text-decoration: none;
|
|
118
118
|
}
|
|
119
119
|
.mars3d-sub-menu {
|
|
120
120
|
position: absolute;
|
|
121
|
-
background: rgba(
|
|
121
|
+
background-color: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
122
122
|
min-width: 100px;
|
|
123
123
|
display: none;
|
|
124
124
|
}
|
|
@@ -126,12 +126,12 @@
|
|
|
126
126
|
width: 100%;
|
|
127
127
|
box-sizing: border-box;
|
|
128
128
|
font-size: 14px;
|
|
129
|
-
color: #ffffff;
|
|
129
|
+
color: var(--mars-text-color, #ffffff);
|
|
130
130
|
margin: 0;
|
|
131
131
|
padding: 0;
|
|
132
132
|
}
|
|
133
133
|
.mars3d-sub-menu li:hover {
|
|
134
|
-
background-color: #
|
|
134
|
+
background-color: var(--mars-hover-color, #3ea6ff);
|
|
135
135
|
}
|
|
136
136
|
.mars3d-smallTooltip {
|
|
137
137
|
display: block;
|
|
@@ -182,11 +182,11 @@
|
|
|
182
182
|
border-right: 5px solid #000000;
|
|
183
183
|
}
|
|
184
184
|
.mars3d-clockAnimate {
|
|
185
|
+
z-index: 12;
|
|
185
186
|
position: absolute;
|
|
186
187
|
bottom: 0;
|
|
187
188
|
left: 0;
|
|
188
189
|
height: 27px;
|
|
189
|
-
z-index: 999;
|
|
190
190
|
background: linear-gradient(to bottom, rgba(116, 117, 119, 0.8) 0%, rgba(58, 68, 82, 0.8) 11%, rgba(46, 50, 56, 0.8) 46%, rgba(53, 53, 53, 0.8) 81%, rgba(53, 53, 53, 0.8) 100%);
|
|
191
191
|
}
|
|
192
192
|
.mars3d-clockAnimate .time {
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
vertical-align: middle;
|
|
203
203
|
padding: 1px 8px;
|
|
204
204
|
border: solid 1px #888;
|
|
205
|
-
color: #ffffff;
|
|
205
|
+
color: var(--mars-text-color, #ffffff);
|
|
206
206
|
background-color: rgba(63, 72, 84, 0.7);
|
|
207
207
|
border: none;
|
|
208
208
|
cursor: pointer;
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
border: solid 1px rgba(136, 136, 136, 0.6);
|
|
218
218
|
padding: 0 3px;
|
|
219
219
|
margin: 0;
|
|
220
|
-
color: #ffffff;
|
|
220
|
+
color: var(--mars-text-color, #ffffff);
|
|
221
221
|
background-color: rgba(63, 72, 84, 0.7);
|
|
222
222
|
}
|
|
223
223
|
.mars3d-clockAnimate .mars3d-clockAnimate-speed ::-webkit-outer-spin-button,
|
|
@@ -233,10 +233,6 @@
|
|
|
233
233
|
width: 55px;
|
|
234
234
|
height: 55px;
|
|
235
235
|
}
|
|
236
|
-
.mars3d-compass:hover .mars3d-compass-outer svg {
|
|
237
|
-
transform: scale(1.1);
|
|
238
|
-
transition: transform 0.3s;
|
|
239
|
-
}
|
|
240
236
|
.mars3d-compass .mars3d-compass-outer {
|
|
241
237
|
position: absolute;
|
|
242
238
|
top: 0;
|
|
@@ -245,7 +241,7 @@
|
|
|
245
241
|
width: 55px;
|
|
246
242
|
background-repeat: no-repeat;
|
|
247
243
|
background-size: contain;
|
|
248
|
-
fill:
|
|
244
|
+
fill: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
249
245
|
border-radius: 50%;
|
|
250
246
|
}
|
|
251
247
|
.mars3d-compass .mars3d-compass-outer svg {
|
|
@@ -263,8 +259,11 @@
|
|
|
263
259
|
margin: 0 auto;
|
|
264
260
|
padding: 4px;
|
|
265
261
|
box-sizing: border-box;
|
|
266
|
-
background:
|
|
267
|
-
fill: #
|
|
262
|
+
background: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
263
|
+
fill: var(--mars-text-color, #ffffff);
|
|
264
|
+
}
|
|
265
|
+
.mars3d-compass .mars3d-compass-inner:hover {
|
|
266
|
+
background: #3385ff;
|
|
268
267
|
}
|
|
269
268
|
.mars3d-compass .mars3d-compass-rotation-arc {
|
|
270
269
|
position: absolute;
|
|
@@ -300,10 +299,13 @@
|
|
|
300
299
|
width: 100%;
|
|
301
300
|
height: 100%;
|
|
302
301
|
user-select: none;
|
|
303
|
-
color: rgba(0, 0, 0, 0.6);
|
|
304
|
-
background-color: #e0e1e2;
|
|
305
|
-
border: 1px solid rgba(0, 0, 0, 0.6);
|
|
306
302
|
cursor: pointer;
|
|
303
|
+
color: var(--mars-text-color, #ffffff);
|
|
304
|
+
background-color: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
305
|
+
border: 1px solid var(--mars-text-color, #ffffff);
|
|
306
|
+
}
|
|
307
|
+
.mars3d-cubeview-cube > div:hover {
|
|
308
|
+
background: #3385ff;
|
|
307
309
|
}
|
|
308
310
|
.mars3d-cubeview-side-t {
|
|
309
311
|
transform: rotatex(90deg) translateZ(25px);
|
|
@@ -474,19 +476,6 @@
|
|
|
474
476
|
border: 1px solid orange;
|
|
475
477
|
box-shadow: 2px 2px 3px #2b2b2b;
|
|
476
478
|
}
|
|
477
|
-
.mar3d-toolButton {
|
|
478
|
-
cursor: pointer;
|
|
479
|
-
margin: 0 3px;
|
|
480
|
-
padding: 0;
|
|
481
|
-
display: grid;
|
|
482
|
-
place-items: center;
|
|
483
|
-
}
|
|
484
|
-
.mar3d-toolButton img,
|
|
485
|
-
.mar3d-toolButton svg,
|
|
486
|
-
.mar3d-toolButton div {
|
|
487
|
-
height: 100%;
|
|
488
|
-
text-align: center;
|
|
489
|
-
}
|
|
490
479
|
.mars3d-subtitles {
|
|
491
480
|
position: absolute;
|
|
492
481
|
user-select: none;
|
|
@@ -498,6 +487,12 @@
|
|
|
498
487
|
text-align: center;
|
|
499
488
|
z-index: 999;
|
|
500
489
|
}
|
|
490
|
+
.mar3d-toolButton img,
|
|
491
|
+
.mar3d-toolButton svg,
|
|
492
|
+
.mar3d-toolButton div {
|
|
493
|
+
height: 100%;
|
|
494
|
+
text-align: center;
|
|
495
|
+
}
|
|
501
496
|
.mars3d-divGraphic {
|
|
502
497
|
position: absolute;
|
|
503
498
|
left: 0;
|
|
@@ -1111,3 +1106,276 @@
|
|
|
1111
1106
|
.mars3d-divlayer-camera {
|
|
1112
1107
|
backface-visibility: hidden;
|
|
1113
1108
|
}
|
|
1109
|
+
/** 覆盖cesium 控件相关样式 */
|
|
1110
|
+
/**cesium info信息框*/
|
|
1111
|
+
.cesium-infoBox {
|
|
1112
|
+
background: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
1113
|
+
}
|
|
1114
|
+
.cesium-infoBox-title {
|
|
1115
|
+
background-color: rgba(23, 49, 71, 0.8);
|
|
1116
|
+
}
|
|
1117
|
+
/**cesium 任务栏的FPS信息*/
|
|
1118
|
+
.cesium-performanceDisplay-defaultContainer .cesium-performanceDisplay-ms,
|
|
1119
|
+
.cesium-performanceDisplay-defaultContainer .cesium-performanceDisplay-fps {
|
|
1120
|
+
color: #fff;
|
|
1121
|
+
}
|
|
1122
|
+
/**cesium tileset调试信息面板*/
|
|
1123
|
+
.cesium-cesiumInspector {
|
|
1124
|
+
background-color: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
1125
|
+
}
|
|
1126
|
+
/**animation时间面板*/
|
|
1127
|
+
.cesium-viewer-animationContainer {
|
|
1128
|
+
z-index: 12;
|
|
1129
|
+
}
|
|
1130
|
+
/** 按钮工具栏 */
|
|
1131
|
+
.cesium-viewer-toolbar {
|
|
1132
|
+
/** 按钮统一样式 */
|
|
1133
|
+
/**底图切换 弹出面板*/
|
|
1134
|
+
/**帮助 弹出面板*/
|
|
1135
|
+
/**POI查询输入框*/
|
|
1136
|
+
}
|
|
1137
|
+
.cesium-viewer-toolbar .cesium-button {
|
|
1138
|
+
background-color: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
1139
|
+
border-radius: 2px;
|
|
1140
|
+
border-width: 1px;
|
|
1141
|
+
color: var(--mars-text-color, #ffffff);
|
|
1142
|
+
fill: #e6e6e6;
|
|
1143
|
+
line-height: 32px;
|
|
1144
|
+
text-align: center;
|
|
1145
|
+
cursor: pointer;
|
|
1146
|
+
}
|
|
1147
|
+
.cesium-viewer-toolbar .cesium-button:hover {
|
|
1148
|
+
background-color: #3385ff;
|
|
1149
|
+
box-shadow: none;
|
|
1150
|
+
border: none;
|
|
1151
|
+
}
|
|
1152
|
+
.cesium-viewer-toolbar .cesium-button img,
|
|
1153
|
+
.cesium-viewer-toolbar .cesium-button svg,
|
|
1154
|
+
.cesium-viewer-toolbar .cesium-button div,
|
|
1155
|
+
.cesium-viewer-toolbar .cesium-button .cesium-svgPath-svg {
|
|
1156
|
+
scale: 0.8;
|
|
1157
|
+
height: 100%;
|
|
1158
|
+
max-width: 100%;
|
|
1159
|
+
max-height: 100%;
|
|
1160
|
+
text-align: center;
|
|
1161
|
+
}
|
|
1162
|
+
.cesium-viewer-toolbar .cesium-button img:hover,
|
|
1163
|
+
.cesium-viewer-toolbar .cesium-button svg:hover,
|
|
1164
|
+
.cesium-viewer-toolbar .cesium-button div:hover,
|
|
1165
|
+
.cesium-viewer-toolbar .cesium-button .cesium-svgPath-svg:hover {
|
|
1166
|
+
scale: 0.9;
|
|
1167
|
+
}
|
|
1168
|
+
.cesium-viewer-toolbar .cesium-baseLayerPicker-dropDown {
|
|
1169
|
+
background-color: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
1170
|
+
max-height: 700px;
|
|
1171
|
+
z-index: 99;
|
|
1172
|
+
}
|
|
1173
|
+
.cesium-viewer-toolbar .cesium-navigationHelpButton-wrapper .cesium-navigation-help-instructions,
|
|
1174
|
+
.cesium-viewer-toolbar .cesium-navigationHelpButton-wrapper .cesium-navigation-button {
|
|
1175
|
+
background: none;
|
|
1176
|
+
}
|
|
1177
|
+
.cesium-viewer-toolbar .cesium-navigationHelpButton-wrapper .cesium-navigation-help,
|
|
1178
|
+
.cesium-viewer-toolbar .cesium-navigationHelpButton-wrapper .cesium-navigation-button-selected {
|
|
1179
|
+
background-color: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
1180
|
+
}
|
|
1181
|
+
.cesium-viewer-toolbar .cesium-navigationHelpButton-wrapper .cesium-navigation-button-unselected {
|
|
1182
|
+
background-color: rgba(105, 105, 105, 0.75);
|
|
1183
|
+
}
|
|
1184
|
+
.cesium-viewer-toolbar .cesium-navigationHelpButton-wrapper .cesium-navigation-button-unselected:hover {
|
|
1185
|
+
background-color: var(--mars-base-bg, rgba(76, 76, 76, 0.75));
|
|
1186
|
+
}
|
|
1187
|
+
.cesium-viewer-toolbar .cesium-viewer-geocoderContainer .cesium-geocoder-input {
|
|
1188
|
+
background-color: rgba(63, 72, 84, 0.7);
|
|
1189
|
+
border-width: 1px;
|
|
1190
|
+
}
|
|
1191
|
+
.cesium-viewer-toolbar .cesium-viewer-geocoderContainer .cesium-geocoder-input:focus {
|
|
1192
|
+
background-color: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
1193
|
+
}
|
|
1194
|
+
.cesium-viewer-toolbar .cesium-viewer-geocoderContainer .search-results {
|
|
1195
|
+
z-index: 99;
|
|
1196
|
+
background-color: rgba(23, 49, 71, 0.8);
|
|
1197
|
+
}
|
|
1198
|
+
.cesium-viewer-toolbar .cesium-viewer-geocoderContainer .cesium-geocoder-searchButton {
|
|
1199
|
+
background-color: var(--mars-base-bg, rgba(63, 72, 84, 0.9));
|
|
1200
|
+
border-radius: 2px;
|
|
1201
|
+
border-width: 1px;
|
|
1202
|
+
fill: #e6e6e6;
|
|
1203
|
+
}
|
|
1204
|
+
/** 修改定位:"top-right"上侧靠右 */
|
|
1205
|
+
/** 按钮工具栏修改定位:"top-left"上侧靠左 */
|
|
1206
|
+
.cesium-viewer-toolbar-top-left {
|
|
1207
|
+
top: 10px;
|
|
1208
|
+
bottom: auto;
|
|
1209
|
+
left: 10px;
|
|
1210
|
+
right: auto;
|
|
1211
|
+
/**帮助 弹出面板*/
|
|
1212
|
+
/**底图切换 弹出面板*/
|
|
1213
|
+
}
|
|
1214
|
+
.cesium-viewer-toolbar-top-left .cesium-navigationHelpButton-wrapper .cesium-navigation-help {
|
|
1215
|
+
left: 40px;
|
|
1216
|
+
transform-origin: left top;
|
|
1217
|
+
}
|
|
1218
|
+
.cesium-viewer-toolbar-top-left .cesium-baseLayerPicker-dropDown {
|
|
1219
|
+
left: 10px;
|
|
1220
|
+
}
|
|
1221
|
+
/** 修改定位:"left-top"左侧靠上 */
|
|
1222
|
+
.cesium-viewer-toolbar-left-top {
|
|
1223
|
+
top: 10px;
|
|
1224
|
+
bottom: auto;
|
|
1225
|
+
left: 10px;
|
|
1226
|
+
right: auto;
|
|
1227
|
+
/**底图切换 弹出面板*/
|
|
1228
|
+
/**帮助 弹出面板*/
|
|
1229
|
+
/**二维三维切换*/
|
|
1230
|
+
/**POI查询输入框*/
|
|
1231
|
+
}
|
|
1232
|
+
.cesium-viewer-toolbar-left-top > .cesium-toolbar-button,
|
|
1233
|
+
.cesium-viewer-toolbar-left-top .cesium-navigationHelpButton-wrapper,
|
|
1234
|
+
.cesium-viewer-toolbar-left-top .cesium-viewer-geocoderContainer {
|
|
1235
|
+
float: left;
|
|
1236
|
+
clear: both;
|
|
1237
|
+
margin-bottom: 5px;
|
|
1238
|
+
}
|
|
1239
|
+
.cesium-viewer-toolbar-left-top .cesium-baseLayerPicker-dropDown {
|
|
1240
|
+
left: 40px;
|
|
1241
|
+
margin-bottom: 5px;
|
|
1242
|
+
}
|
|
1243
|
+
.cesium-viewer-toolbar-left-top .cesium-navigationHelpButton-wrapper .cesium-navigation-help {
|
|
1244
|
+
top: 0px;
|
|
1245
|
+
left: 40px;
|
|
1246
|
+
transform-origin: left top;
|
|
1247
|
+
}
|
|
1248
|
+
.cesium-viewer-toolbar-left-top .cesium-sceneModePicker-wrapper {
|
|
1249
|
+
width: auto;
|
|
1250
|
+
}
|
|
1251
|
+
.cesium-viewer-toolbar-left-top .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {
|
|
1252
|
+
float: right;
|
|
1253
|
+
margin: 0 3px;
|
|
1254
|
+
}
|
|
1255
|
+
.cesium-viewer-toolbar-left-top .cesium-viewer-geocoderContainer .search-results {
|
|
1256
|
+
left: 0;
|
|
1257
|
+
right: 40px;
|
|
1258
|
+
width: auto;
|
|
1259
|
+
}
|
|
1260
|
+
/** 修改定位:"left-bottom"左侧靠下 */
|
|
1261
|
+
.cesium-viewer-toolbar-left-bottom {
|
|
1262
|
+
top: auto;
|
|
1263
|
+
bottom: 60px;
|
|
1264
|
+
left: 10px;
|
|
1265
|
+
right: auto;
|
|
1266
|
+
/**底图切换 弹出面板*/
|
|
1267
|
+
/**帮助 弹出面板*/
|
|
1268
|
+
/**二维三维切换*/
|
|
1269
|
+
/**POI查询输入框*/
|
|
1270
|
+
}
|
|
1271
|
+
.cesium-viewer-toolbar-left-bottom > .cesium-toolbar-button,
|
|
1272
|
+
.cesium-viewer-toolbar-left-bottom .cesium-navigationHelpButton-wrapper,
|
|
1273
|
+
.cesium-viewer-toolbar-left-bottom .cesium-viewer-geocoderContainer {
|
|
1274
|
+
float: left;
|
|
1275
|
+
clear: both;
|
|
1276
|
+
margin-bottom: 5px;
|
|
1277
|
+
}
|
|
1278
|
+
.cesium-viewer-toolbar-left-bottom .cesium-baseLayerPicker-dropDown {
|
|
1279
|
+
bottom: 0;
|
|
1280
|
+
left: 40px;
|
|
1281
|
+
margin-bottom: 5px;
|
|
1282
|
+
}
|
|
1283
|
+
.cesium-viewer-toolbar-left-bottom .cesium-navigationHelpButton-wrapper .cesium-navigation-help {
|
|
1284
|
+
top: auto;
|
|
1285
|
+
bottom: 0;
|
|
1286
|
+
left: 40px;
|
|
1287
|
+
transform-origin: left bottom;
|
|
1288
|
+
}
|
|
1289
|
+
.cesium-viewer-toolbar-left-bottom .cesium-sceneModePicker-wrapper {
|
|
1290
|
+
width: auto;
|
|
1291
|
+
}
|
|
1292
|
+
.cesium-viewer-toolbar-left-bottom .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {
|
|
1293
|
+
float: right;
|
|
1294
|
+
margin: 0 3px;
|
|
1295
|
+
}
|
|
1296
|
+
.cesium-viewer-toolbar-left-bottom .cesium-viewer-geocoderContainer .search-results {
|
|
1297
|
+
left: 0;
|
|
1298
|
+
right: 40px;
|
|
1299
|
+
width: auto;
|
|
1300
|
+
}
|
|
1301
|
+
/** 修改定位:"right-top"右侧靠上 */
|
|
1302
|
+
.cesium-viewer-toolbar-right-top {
|
|
1303
|
+
top: 10px;
|
|
1304
|
+
bottom: auto;
|
|
1305
|
+
right: 10px;
|
|
1306
|
+
left: auto;
|
|
1307
|
+
/**底图切换 弹出面板*/
|
|
1308
|
+
/**帮助 弹出面板*/
|
|
1309
|
+
/**二维三维切换*/
|
|
1310
|
+
/**POI查询输入框*/
|
|
1311
|
+
}
|
|
1312
|
+
.cesium-viewer-toolbar-right-top > .cesium-toolbar-button,
|
|
1313
|
+
.cesium-viewer-toolbar-right-top .cesium-navigationHelpButton-wrapper,
|
|
1314
|
+
.cesium-viewer-toolbar-right-top .cesium-viewer-geocoderContainer {
|
|
1315
|
+
float: right;
|
|
1316
|
+
clear: both;
|
|
1317
|
+
margin-bottom: 5px;
|
|
1318
|
+
}
|
|
1319
|
+
.cesium-viewer-toolbar-right-top .cesium-baseLayerPicker-dropDown {
|
|
1320
|
+
right: 40px;
|
|
1321
|
+
margin-bottom: 5px;
|
|
1322
|
+
}
|
|
1323
|
+
.cesium-viewer-toolbar-right-top .cesium-navigationHelpButton-wrapper .cesium-navigation-help {
|
|
1324
|
+
top: 0;
|
|
1325
|
+
bottom: auto;
|
|
1326
|
+
right: 40px;
|
|
1327
|
+
transform-origin: right top;
|
|
1328
|
+
}
|
|
1329
|
+
.cesium-viewer-toolbar-right-top .cesium-sceneModePicker-wrapper {
|
|
1330
|
+
width: auto;
|
|
1331
|
+
}
|
|
1332
|
+
.cesium-viewer-toolbar-right-top .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {
|
|
1333
|
+
float: left;
|
|
1334
|
+
margin: 0 3px;
|
|
1335
|
+
}
|
|
1336
|
+
.cesium-viewer-toolbar-right-top .cesium-viewer-geocoderContainer .search-results {
|
|
1337
|
+
right: 0;
|
|
1338
|
+
left: 40px;
|
|
1339
|
+
width: auto;
|
|
1340
|
+
}
|
|
1341
|
+
/** 修改定位:"right-bottom"右侧靠下 */
|
|
1342
|
+
.cesium-viewer-toolbar-right-bottom {
|
|
1343
|
+
top: auto;
|
|
1344
|
+
bottom: 60px;
|
|
1345
|
+
right: 10px;
|
|
1346
|
+
left: auto;
|
|
1347
|
+
/**底图切换 弹出面板*/
|
|
1348
|
+
/**帮助 弹出面板*/
|
|
1349
|
+
/**二维三维切换*/
|
|
1350
|
+
/**POI查询输入框*/
|
|
1351
|
+
}
|
|
1352
|
+
.cesium-viewer-toolbar-right-bottom > .cesium-toolbar-button,
|
|
1353
|
+
.cesium-viewer-toolbar-right-bottom .cesium-navigationHelpButton-wrapper,
|
|
1354
|
+
.cesium-viewer-toolbar-right-bottom .cesium-viewer-geocoderContainer {
|
|
1355
|
+
float: right;
|
|
1356
|
+
clear: both;
|
|
1357
|
+
margin-bottom: 5px;
|
|
1358
|
+
}
|
|
1359
|
+
.cesium-viewer-toolbar-right-bottom .cesium-baseLayerPicker-dropDown {
|
|
1360
|
+
bottom: 0;
|
|
1361
|
+
right: 40px;
|
|
1362
|
+
margin-bottom: 5px;
|
|
1363
|
+
}
|
|
1364
|
+
.cesium-viewer-toolbar-right-bottom .cesium-navigationHelpButton-wrapper .cesium-navigation-help {
|
|
1365
|
+
top: auto;
|
|
1366
|
+
bottom: 0;
|
|
1367
|
+
right: 40px;
|
|
1368
|
+
transform-origin: right bottom;
|
|
1369
|
+
}
|
|
1370
|
+
.cesium-viewer-toolbar-right-bottom .cesium-sceneModePicker-wrapper {
|
|
1371
|
+
width: auto;
|
|
1372
|
+
}
|
|
1373
|
+
.cesium-viewer-toolbar-right-bottom .cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {
|
|
1374
|
+
float: left;
|
|
1375
|
+
margin: 0 3px;
|
|
1376
|
+
}
|
|
1377
|
+
.cesium-viewer-toolbar-right-bottom .cesium-viewer-geocoderContainer .search-results {
|
|
1378
|
+
right: 0;
|
|
1379
|
+
left: 40px;
|
|
1380
|
+
width: auto;
|
|
1381
|
+
}
|