gis-cesium-helper 1.1.20 → 1.1.22

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.
Files changed (145) hide show
  1. package/dist/Cesium/Cesium.d.ts +3498 -2977
  2. package/dist/Cesium/Cesium.js +15065 -90
  3. package/dist/Cesium/README.md +13 -0
  4. package/dist/Cesium/ThirdParty/Workers/basis_transcoder.js +31 -1
  5. package/dist/Cesium/ThirdParty/Workers/draco_decoder_nodejs.js +1 -116
  6. package/dist/Cesium/ThirdParty/Workers/package.js +1 -0
  7. package/dist/Cesium/ThirdParty/Workers/package.json +1 -0
  8. package/dist/Cesium/ThirdParty/Workers/pako_deflate.min.js +1 -1
  9. package/dist/Cesium/ThirdParty/Workers/pako_inflate.min.js +1 -1
  10. package/dist/Cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
  11. package/dist/Cesium/ThirdParty/draco_decoder.wasm +0 -0
  12. package/dist/Cesium/ThirdParty/google-earth-dbroot-parser.js +1 -1
  13. package/dist/Cesium/Widgets/Animation/Animation.css +127 -1
  14. package/dist/Cesium/Widgets/Animation/lighter.css +70 -1
  15. package/dist/Cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -1
  16. package/dist/Cesium/Widgets/BaseLayerPicker/lighter.css +22 -1
  17. package/dist/Cesium/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -1
  18. package/dist/Cesium/Widgets/CesiumInspector/CesiumInspector.css +113 -1
  19. package/dist/Cesium/Widgets/CesiumWidget/CesiumWidget.css +124 -1
  20. package/dist/Cesium/Widgets/CesiumWidget/lighter.css +14 -1
  21. package/dist/Cesium/Widgets/FullscreenButton/FullscreenButton.css +8 -1
  22. package/dist/Cesium/Widgets/Geocoder/Geocoder.css +70 -1
  23. package/dist/Cesium/Widgets/Geocoder/lighter.css +17 -1
  24. package/dist/Cesium/Widgets/InfoBox/InfoBox.css +92 -1
  25. package/dist/Cesium/Widgets/InfoBox/InfoBoxDescription.css +178 -1
  26. package/dist/Cesium/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -1
  27. package/dist/Cesium/Widgets/NavigationHelpButton/lighter.css +38 -1
  28. package/dist/Cesium/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -1
  29. package/dist/Cesium/Widgets/ProjectionPicker/ProjectionPicker.css +38 -1
  30. package/dist/Cesium/Widgets/SceneModePicker/SceneModePicker.css +56 -1
  31. package/dist/Cesium/Widgets/SelectionIndicator/SelectionIndicator.css +20 -1
  32. package/dist/Cesium/Widgets/Timeline/Timeline.css +96 -1
  33. package/dist/Cesium/Widgets/Timeline/lighter.css +18 -1
  34. package/dist/Cesium/Widgets/VRButton/VRButton.css +8 -1
  35. package/dist/Cesium/Widgets/Viewer/Viewer.css +107 -1
  36. package/dist/Cesium/Widgets/VoxelInspector/VoxelInspector.css +16 -0
  37. package/dist/Cesium/Widgets/lighter.css +232 -1
  38. package/dist/Cesium/Widgets/lighterShared.css +46 -1
  39. package/dist/Cesium/Widgets/shared.css +103 -1
  40. package/dist/Cesium/Widgets/widgets.css +1311 -1
  41. package/dist/Cesium/Workers/ArcType-26a3f38d.js +1 -0
  42. package/dist/Cesium/Workers/AttributeCompression-48e336db.js +1 -0
  43. package/dist/Cesium/Workers/AxisAlignedBoundingBox-2c8f82be.js +1 -0
  44. package/dist/Cesium/Workers/BoundingRectangle-b8248608.js +1 -0
  45. package/dist/Cesium/Workers/BoxGeometry-85afccf5.js +1 -0
  46. package/dist/Cesium/Workers/Color-50ebab71.js +1 -0
  47. package/dist/Cesium/Workers/ComponentDatatype-ab629b88.js +1 -0
  48. package/dist/Cesium/Workers/CoplanarPolygonGeometryLibrary-44d91286.js +1 -0
  49. package/dist/Cesium/Workers/CorridorGeometryLibrary-0fed6511.js +1 -0
  50. package/dist/Cesium/Workers/CylinderGeometry-4802140c.js +1 -0
  51. package/dist/Cesium/Workers/CylinderGeometryLibrary-f49f33a8.js +1 -0
  52. package/dist/Cesium/Workers/EllipseGeometry-e8ae6742.js +1 -0
  53. package/dist/Cesium/Workers/EllipseGeometryLibrary-6ce53de3.js +1 -0
  54. package/dist/Cesium/Workers/EllipseOutlineGeometry-52d25fd2.js +1 -0
  55. package/dist/Cesium/Workers/EllipsoidGeodesic-2723ab86.js +1 -0
  56. package/dist/Cesium/Workers/EllipsoidGeometry-7cbedd8f.js +1 -0
  57. package/dist/Cesium/Workers/EllipsoidOutlineGeometry-876d584e.js +1 -0
  58. package/dist/Cesium/Workers/EllipsoidRhumbLine-77eff028.js +1 -0
  59. package/dist/Cesium/Workers/EllipsoidTangentPlane-4cf30b6c.js +1 -0
  60. package/dist/Cesium/Workers/EncodedCartesian3-5e2017ab.js +1 -0
  61. package/dist/Cesium/Workers/FrustumGeometry-cffd2aa8.js +1 -0
  62. package/dist/Cesium/Workers/GeometryAttribute-b10c5c29.js +1 -0
  63. package/dist/Cesium/Workers/GeometryAttributes-1e4ddcd2.js +1 -0
  64. package/dist/Cesium/Workers/GeometryInstance-0318e0cd.js +1 -0
  65. package/dist/Cesium/Workers/GeometryOffsetAttribute-2579b8d2.js +1 -0
  66. package/dist/Cesium/Workers/GeometryPipeline-5926bf6a.js +1 -0
  67. package/dist/Cesium/Workers/IndexDatatype-d3db4e7d.js +1 -0
  68. package/dist/Cesium/Workers/IntersectionTests-832aa5c7.js +1 -0
  69. package/dist/Cesium/Workers/Math-2ce22ee9.js +1 -0
  70. package/dist/Cesium/Workers/Matrix2-413c4048.js +1 -0
  71. package/dist/Cesium/Workers/Matrix3-81054f0f.js +1 -0
  72. package/dist/Cesium/Workers/OrientedBoundingBox-c3eda7c2.js +1 -0
  73. package/dist/Cesium/Workers/Plane-6add0ae1.js +1 -0
  74. package/dist/Cesium/Workers/PolygonGeometryLibrary-d5f3e119.js +1 -0
  75. package/dist/Cesium/Workers/PolygonPipeline-e8d27f39.js +1 -0
  76. package/dist/Cesium/Workers/PolylinePipeline-3006b0cf.js +1 -0
  77. package/dist/Cesium/Workers/PolylineVolumeGeometryLibrary-437b726e.js +1 -0
  78. package/dist/Cesium/Workers/PrimitivePipeline-90884677.js +1 -0
  79. package/dist/Cesium/Workers/RectangleGeometryLibrary-11b080fb.js +1 -0
  80. package/dist/Cesium/Workers/RuntimeError-9b4ce3fb.js +1 -0
  81. package/dist/Cesium/Workers/TerrainEncoding-7b6ac0c5.js +1 -0
  82. package/dist/Cesium/Workers/Transforms-c65aae74.js +14 -0
  83. package/dist/Cesium/Workers/VertexFormat-fbdec922.js +1 -0
  84. package/dist/Cesium/Workers/WallGeometryLibrary-dc44247b.js +1 -0
  85. package/dist/Cesium/Workers/WebGLConstants-7f557f93.js +1 -0
  86. package/dist/Cesium/Workers/WebMercatorProjection-943e2226.js +1 -0
  87. package/dist/Cesium/Workers/arrayRemoveDuplicates-9b636830.js +1 -0
  88. package/dist/Cesium/Workers/cesiumWorkerBootstrapper.js +28 -3
  89. package/dist/Cesium/Workers/combine-0c102d93.js +1 -0
  90. package/dist/Cesium/Workers/combineGeometry.js +1 -1
  91. package/dist/Cesium/Workers/createBoxGeometry.js +1 -1
  92. package/dist/Cesium/Workers/createBoxOutlineGeometry.js +1 -1
  93. package/dist/Cesium/Workers/createCircleGeometry.js +1 -1
  94. package/dist/Cesium/Workers/createCircleOutlineGeometry.js +1 -1
  95. package/dist/Cesium/Workers/createCoplanarPolygonGeometry.js +1 -1
  96. package/dist/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +1 -1
  97. package/dist/Cesium/Workers/createCorridorGeometry.js +1 -1
  98. package/dist/Cesium/Workers/createCorridorOutlineGeometry.js +1 -1
  99. package/dist/Cesium/Workers/createCylinderGeometry.js +1 -1
  100. package/dist/Cesium/Workers/createCylinderOutlineGeometry.js +1 -1
  101. package/dist/Cesium/Workers/createEllipseGeometry.js +1 -1
  102. package/dist/Cesium/Workers/createEllipseOutlineGeometry.js +1 -1
  103. package/dist/Cesium/Workers/createEllipsoidGeometry.js +1 -1
  104. package/dist/Cesium/Workers/createEllipsoidOutlineGeometry.js +1 -1
  105. package/dist/Cesium/Workers/createFrustumGeometry.js +1 -1
  106. package/dist/Cesium/Workers/createFrustumOutlineGeometry.js +1 -1
  107. package/dist/Cesium/Workers/createGeometry.js +1 -1
  108. package/dist/Cesium/Workers/createGroundPolylineGeometry.js +1 -1
  109. package/dist/Cesium/Workers/createPlaneGeometry.js +1 -1
  110. package/dist/Cesium/Workers/createPlaneOutlineGeometry.js +1 -1
  111. package/dist/Cesium/Workers/createPolygonGeometry.js +1 -1
  112. package/dist/Cesium/Workers/createPolygonOutlineGeometry.js +1 -1
  113. package/dist/Cesium/Workers/createPolylineGeometry.js +1 -1
  114. package/dist/Cesium/Workers/createPolylineVolumeGeometry.js +1 -1
  115. package/dist/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +1 -1
  116. package/dist/Cesium/Workers/createRectangleGeometry.js +1 -1
  117. package/dist/Cesium/Workers/createRectangleOutlineGeometry.js +1 -1
  118. package/dist/Cesium/Workers/createSimplePolylineGeometry.js +1 -1
  119. package/dist/Cesium/Workers/createSphereGeometry.js +1 -1
  120. package/dist/Cesium/Workers/createSphereOutlineGeometry.js +1 -1
  121. package/dist/Cesium/Workers/createTaskProcessorWorker.js +1 -1
  122. package/dist/Cesium/Workers/createVectorTileClampedPolylines.js +1 -1
  123. package/dist/Cesium/Workers/createVectorTileGeometries.js +1 -1
  124. package/dist/Cesium/Workers/createVectorTilePoints.js +1 -1
  125. package/dist/Cesium/Workers/createVectorTilePolygons.js +1 -1
  126. package/dist/Cesium/Workers/createVectorTilePolylines.js +1 -1
  127. package/dist/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
  128. package/dist/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
  129. package/dist/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +1 -1
  130. package/dist/Cesium/Workers/createWallGeometry.js +1 -1
  131. package/dist/Cesium/Workers/createWallOutlineGeometry.js +1 -1
  132. package/dist/Cesium/Workers/decodeDraco.js +1 -1
  133. package/dist/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +1 -1
  134. package/dist/Cesium/Workers/decodeI3S.js +1 -0
  135. package/dist/Cesium/Workers/defaultValue-f6d5e6da.js +1 -0
  136. package/dist/Cesium/Workers/package.js +26 -0
  137. package/dist/Cesium/Workers/transcodeKTX2.js +1 -1
  138. package/dist/Cesium/Workers/transferTypedArrayTest.js +26 -1
  139. package/dist/Cesium/Workers/upsampleQuantizedTerrainMesh.js +1 -1
  140. package/dist/Cesium/index.cjs +15065 -0
  141. package/dist/Cesium/index.js +15065 -0
  142. package/dist/gis3d/gis3d.css +980 -959
  143. package/dist/gis3d/gis3d.js +80490 -16
  144. package/dist/style.css +1 -1
  145. package/package.json +1 -1
@@ -1,999 +1,1020 @@
1
1
  /**地球容器div*/
2
- .mars3d-container {
3
- width: 100%;
4
- height: 100%;
5
- margin: 0;
6
- padding: 0;
7
- overflow: hidden;
8
- position: relative;
9
- }
10
- .cesium-viewer .cesium-widget-credits {
11
- display: none;
2
+ .gis3d-container {
3
+ width: 100%;
4
+ height: 100%;
5
+ margin: 0;
6
+ padding: 0;
7
+ overflow: hidden;
8
+ position: relative;
9
+ }
10
+ .gis3d-container .cesium-widget-credits {
11
+ display: none;
12
+ }
13
+ .gis3d-container .gis3d-vrButton {
14
+ right: auto !important;
15
+ }
16
+ /**隐藏的div对象,如 DivBillboardEntity、HeatLayer 等*/
17
+ .gis3d-hideDiv {
18
+ z-index: -99;
19
+ position: absolute !important;
20
+ top: 0;
21
+ left: 0;
22
+ margin: 0;
23
+ padding: 0;
24
+ pointer-events: none;
12
25
  }
13
26
  /**右键菜单*/
14
- .mars3d-contextmenu {
15
- position: absolute;
16
- padding: 0;
17
- z-index: 20170825;
18
- display: none;
19
- }
20
- .mars3d-contextmenu-ul {
21
- background: rgba(43, 44, 47, 0.8);
22
- border: 1px solid #2b2c2f;
23
- min-width: 110px;
24
- position: relative;
25
- list-style: none;
26
- margin: 0;
27
- padding: 0;
28
- }
29
- .mars3d-contextmenu-ul .contextmenu-icon {
30
- padding-right: 10px;
31
- min-width: 20px;
32
- text-align: center;
33
- height: 100%;
34
- }
35
- .mars3d-contextmenu-ul .contextmenu-arrow {
36
- position: absolute;
37
- right: 0;
38
- width: 20px;
39
- height: 20px;
40
- text-align: center;
41
- }
42
- .mars3d-contextmenu-ul li + li {
43
- margin: 0;
44
- padding: 0;
45
- position: relative;
46
- }
47
- .mars3d-contextmenu-ul li + li:before {
48
- content: '';
49
- display: block;
50
- height: 1px;
51
- width: 100%;
52
- background: -webkit-linear-gradient(to left, transparent, rgba(255, 255, 255, 0.2), transparent);
53
- background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.2), transparent);
54
- position: absolute;
55
- top: 0;
56
- left: 0;
57
- }
58
- .mars3d-contextmenu-ul .line {
59
- display: block;
60
- content: '';
61
- height: 1px;
62
- width: 96%;
63
- position: absolute;
64
- left: 2%;
65
- background: #dddddd;
66
- width: 100%;
67
- height: 20px;
68
- border: 1px;
69
- }
70
- .mars3d-contextmenu-ul > li > a {
71
- padding: 6px 10px;
72
- -webkit-transition: background-color 0.25s;
73
- -o-transition: background-color 0.25s;
74
- transition: background-color 0.25s;
75
- display: block;
76
- clear: both;
77
- line-height: 22px;
78
- color: #76838f;
79
- white-space: nowrap;
80
- color: #edffff;
81
- text-decoration: none;
82
- }
83
- .mars3d-contextmenu-ul > li > a:hover,
84
- .mars3d-contextmenu-ul > li > a:focus,
85
- .mars3d-contextmenu-ul > li > .active {
86
- color: #fff;
87
- background-color: #444d59;
88
- text-decoration: none;
89
- }
90
- .mars3d-contextmenu-ul > .active > a,
91
- .mars3d-contextmenu-ul > .active > a:hover,
92
- .mars3d-contextmenu-ul > .active > a:focus {
93
- color: #fff;
94
- background-color: #444d59;
95
- text-decoration: none;
96
- }
97
- .mars3d-sub-menu {
98
- position: absolute;
99
- background: rgba(43, 44, 47, 0.8);
100
- min-width: 160px;
101
- display: none;
102
- }
103
- .mars3d-sub-menu li {
104
- width: 100%;
105
- box-sizing: border-box;
106
- font-size: 14px;
107
- color: #ffffff;
108
- margin: 0;
109
- padding: 0;
110
- }
111
- .mars3d-sub-menu li:hover {
112
- background-color: #444d59;
113
- }
114
- .mars3d-smallTooltip {
115
- display: block;
116
- position: absolute;
117
- max-width: 200px;
118
- min-width: 100px;
119
- padding: 2px 5px;
120
- font-size: 11px;
121
- z-index: 1000;
122
- opacity: 0.8;
123
- -khtml-opacity: 0.8;
124
- -moz-opacity: 0.8;
125
- filter: alpha(opacity=80);
126
- pointer-events: none;
127
- }
128
- .mars3d-smallTooltip-inner {
129
- padding: 3px 5px;
130
- background-color: rgba(0, 0, 0, 0.8);
131
- color: white;
132
- text-align: left;
133
- max-width: 200px;
134
- text-decoration: none;
135
- -webkit-border-radius: 4px;
136
- -moz-border-radius: 4px;
137
- border-radius: 4px;
138
- }
139
- .mars3d-smallTooltip-inner p {
140
- margin: 0;
141
- }
142
- .mars3d-smallTooltip-arrow {
143
- position: absolute;
144
- width: 0;
145
- height: 0;
146
- top: 50%;
147
- }
148
- .mars3d-smallTooltip-leftArrow {
149
- right: 0;
150
- margin-top: -5px;
151
- border-top: 5px solid transparent;
152
- border-bottom: 5px solid transparent;
153
- border-left: 5px solid #000000;
154
- }
155
- .mars3d-smallTooltip-rightArrow {
156
- left: 0;
157
- margin-top: -5px;
158
- border-top: 5px solid transparent;
159
- border-bottom: 5px solid transparent;
160
- border-right: 5px solid #000000;
161
- }
162
- .mars3d-clockAnimate {
163
- position: absolute;
164
- bottom: 0;
165
- left: 0;
166
- height: 27px;
167
- z-index: 999;
168
- background: linear-gradient(
169
- to bottom,
170
- rgba(116, 117, 119, 0.8) 0%,
171
- rgba(58, 68, 82, 0.8) 11%,
172
- rgba(46, 50, 56, 0.8) 46%,
173
- rgba(53, 53, 53, 0.8) 81%,
174
- rgba(53, 53, 53, 0.8) 100%
175
- );
176
- }
177
- .mars3d-clockAnimate .time {
178
- margin: 0 4px;
179
- font-size: 13px;
180
- -webkit-user-select: none;
181
- -moz-user-select: none;
182
- -ms-user-select: none;
183
- user-select: none;
184
- }
185
- .mars3d-clockAnimate .mars3d-clockAnimate-btn {
186
- display: inline-block;
187
- vertical-align: middle;
188
- padding: 1px 8px;
189
- border: solid 1px #888;
190
- color: #ffffff;
191
- background-color: rgba(63, 72, 84, 0.7);
192
- border: none;
193
- cursor: pointer;
194
- width: 24px;
195
- }
196
- .mars3d-clockAnimate .mars3d-clockAnimate-btn svg {
197
- margin-top: 1px;
198
- }
199
- .mars3d-clockAnimate .mars3d-clockAnimate-speed {
200
- width: 80px;
201
- height: 24px;
202
- border: solid 1px rgba(136, 136, 136, 0.6);
203
- padding: 0 3px;
204
- margin: 0;
205
- color: #ffffff;
206
- background-color: rgba(63, 72, 84, 0.7);
207
- }
208
- .mars3d-clockAnimate .mars3d-clockAnimate-speed ::-webkit-outer-spin-button,
209
- .mars3d-clockAnimate .mars3d-clockAnimate-speed input::-webkit-inner-spin-button {
210
- -webkit-appearance: none !important;
211
- margin: 0;
212
- }
213
- .mars3d-compass {
214
- position: absolute;
215
- cursor: pointer;
216
- pointer-events: auto;
217
- user-select: none;
218
- width: 55px;
219
- height: 55px;
220
- }
221
- .mars3d-compass .mars3d-compass-outer {
222
- position: absolute;
223
- top: 0;
224
- left: 0;
225
- height: 55px;
226
- width: 55px;
227
- background-repeat: no-repeat;
228
- background-size: contain;
229
- fill: #3f4854;
230
- border-radius: 50%;
231
- }
232
- .mars3d-compass .mars3d-compass-outer svg {
233
- height: 55px;
234
- width: 55px;
235
- }
236
- .mars3d-compass .mars3d-compass-inner {
237
- position: relative;
238
- top: 50%;
239
- transform: translateY(-50%);
240
- height: 25px;
241
- width: 25px;
242
- border-radius: 50%;
243
- display: block;
244
- margin: 0 auto;
245
- padding: 4px;
246
- box-sizing: border-box;
247
- background: #ffffff;
248
- fill: #68adfe;
249
- }
250
- .mars3d-compass .mars3d-compass-rotation-arc {
251
- position: absolute;
252
- top: 2px;
253
- left: 2px;
254
- height: 51px;
255
- width: 51px;
256
- border-radius: 50%;
257
- background-repeat: no-repeat;
258
- background-size: contain;
259
- }
260
- .mars3d-distance-legend {
261
- position: absolute;
262
- width: 125px;
263
- height: 25px;
264
- pointer-events: none;
265
- user-select: none;
266
- }
267
- .mars3d-distance-legend .legend-label {
268
- font-size: 13px;
269
- color: #ffffff;
270
- text-align: center;
271
- width: 100%;
272
- }
273
- .mars3d-distance-legend .legend-scale-bar {
274
- position: absolute;
275
- height: 10px;
276
- top: 10px;
277
- border-left: 1px solid #ffffff;
278
- border-right: 1px solid #ffffff;
279
- border-bottom: 1px solid #ffffff;
27
+ .gis3d-contextmenu {
28
+ position: absolute;
29
+ padding: 0;
30
+ z-index: 20170825;
31
+ display: none;
32
+ }
33
+ .gis3d-contextmenu-ul {
34
+ background: rgba(43, 44, 47, 0.8);
35
+ border: 1px solid #2b2c2f;
36
+ min-width: 110px;
37
+ position: relative;
38
+ list-style: none;
39
+ margin: 0;
40
+ padding: 0;
41
+ }
42
+ .gis3d-contextmenu-ul .contextmenu-icon {
43
+ position: absolute;
44
+ left: 5px;
45
+ width: 20px;
46
+ height: 20px;
47
+ text-align: center;
48
+ overflow: hidden;
49
+ }
50
+ .gis3d-contextmenu-ul .contextmenu-arrow {
51
+ position: absolute;
52
+ right: 0;
53
+ width: 20px;
54
+ height: 20px;
55
+ text-align: center;
56
+ }
57
+ .gis3d-contextmenu-ul li + li {
58
+ margin: 0;
59
+ padding: 0;
60
+ position: relative;
61
+ }
62
+ .gis3d-contextmenu-ul li + li:before {
63
+ content: "";
64
+ display: block;
65
+ height: 1px;
66
+ width: 100%;
67
+ background: -webkit-linear-gradient(to left, transparent, rgba(255, 255, 255, 0.2), transparent);
68
+ background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.2), transparent);
69
+ position: absolute;
70
+ top: 0;
71
+ left: 0;
72
+ }
73
+ .gis3d-contextmenu-ul .line {
74
+ display: block;
75
+ content: "";
76
+ height: 1px;
77
+ width: 96%;
78
+ position: absolute;
79
+ left: 2%;
80
+ background: #dddddd;
81
+ width: 100%;
82
+ height: 20px;
83
+ border: 1px;
84
+ }
85
+ .gis3d-contextmenu-ul > li > a {
86
+ padding: 6px 10px 6px 30px;
87
+ -webkit-transition: background-color 0.25s;
88
+ -o-transition: background-color 0.25s;
89
+ transition: background-color 0.25s;
90
+ display: block;
91
+ clear: both;
92
+ line-height: 22px;
93
+ color: #76838f;
94
+ white-space: nowrap;
95
+ color: #edffff;
96
+ text-decoration: none;
97
+ }
98
+ .gis3d-contextmenu-ul > li > a:hover,
99
+ .gis3d-contextmenu-ul > li > a:focus,
100
+ .gis3d-contextmenu-ul > li > .active {
101
+ color: #fff;
102
+ background-color: #444d59;
103
+ text-decoration: none;
104
+ }
105
+ .gis3d-contextmenu-ul > .active > a,
106
+ .gis3d-contextmenu-ul > .active > a:hover,
107
+ .gis3d-contextmenu-ul > .active > a:focus {
108
+ color: #fff;
109
+ background-color: #444d59;
110
+ text-decoration: none;
111
+ }
112
+ .gis3d-sub-menu {
113
+ position: absolute;
114
+ background: rgba(43, 44, 47, 0.8);
115
+ min-width: 160px;
116
+ display: none;
117
+ }
118
+ .gis3d-sub-menu li {
119
+ width: 100%;
120
+ box-sizing: border-box;
121
+ font-size: 14px;
122
+ color: #ffffff;
123
+ margin: 0;
124
+ padding: 0;
125
+ }
126
+ .gis3d-sub-menu li:hover {
127
+ background-color: #444d59;
128
+ }
129
+ .gis3d-smallTooltip {
130
+ display: block;
131
+ position: absolute;
132
+ max-width: 200px;
133
+ min-width: 100px;
134
+ padding: 2px 5px;
135
+ font-size: 11px;
136
+ z-index: 1000;
137
+ opacity: 0.8;
138
+ -khtml-opacity: 0.8;
139
+ -moz-opacity: 0.8;
140
+ filter: alpha(opacity=80);
141
+ pointer-events: none;
142
+ }
143
+ .gis3d-smallTooltip-inner {
144
+ padding: 3px 5px;
145
+ background-color: rgba(0, 0, 0, 0.8);
146
+ color: white;
147
+ text-align: left;
148
+ max-width: 200px;
149
+ text-decoration: none;
150
+ -webkit-border-radius: 4px;
151
+ -moz-border-radius: 4px;
152
+ border-radius: 4px;
153
+ }
154
+ .gis3d-smallTooltip-inner p {
155
+ margin: 0;
156
+ }
157
+ .gis3d-smallTooltip-arrow {
158
+ position: absolute;
159
+ width: 0;
160
+ height: 0;
161
+ top: 50%;
162
+ }
163
+ .gis3d-smallTooltip-leftArrow {
164
+ right: 0;
165
+ margin-top: -5px;
166
+ border-top: 5px solid transparent;
167
+ border-bottom: 5px solid transparent;
168
+ border-left: 5px solid #000000;
169
+ }
170
+ .gis3d-smallTooltip-rightArrow {
171
+ left: 0;
172
+ margin-top: -5px;
173
+ border-top: 5px solid transparent;
174
+ border-bottom: 5px solid transparent;
175
+ border-right: 5px solid #000000;
176
+ }
177
+ .gis3d-clockAnimate {
178
+ position: absolute;
179
+ bottom: 0;
180
+ left: 0;
181
+ height: 27px;
182
+ z-index: 999;
183
+ 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%);
184
+ }
185
+ .gis3d-clockAnimate .time {
186
+ margin: 0 4px;
187
+ font-size: 13px;
188
+ -webkit-user-select: none;
189
+ -moz-user-select: none;
190
+ -ms-user-select: none;
191
+ user-select: none;
192
+ }
193
+ .gis3d-clockAnimate .gis3d-clockAnimate-btn {
194
+ display: inline-block;
195
+ vertical-align: middle;
196
+ padding: 1px 8px;
197
+ border: solid 1px #888;
198
+ color: #ffffff;
199
+ background-color: rgba(63, 72, 84, 0.7);
200
+ border: none;
201
+ cursor: pointer;
202
+ width: 24px;
203
+ }
204
+ .gis3d-clockAnimate .gis3d-clockAnimate-btn svg {
205
+ margin-top: 1px;
206
+ }
207
+ .gis3d-clockAnimate .gis3d-clockAnimate-speed {
208
+ width: 80px;
209
+ height: 24px;
210
+ border: solid 1px rgba(136, 136, 136, 0.6);
211
+ padding: 0 3px;
212
+ margin: 0;
213
+ color: #ffffff;
214
+ background-color: rgba(63, 72, 84, 0.7);
215
+ }
216
+ .gis3d-clockAnimate .gis3d-clockAnimate-speed ::-webkit-outer-spin-button,
217
+ .gis3d-clockAnimate .gis3d-clockAnimate-speed input::-webkit-inner-spin-button {
218
+ appearance: none !important;
219
+ margin: 0;
220
+ }
221
+ .gis3d-compass {
222
+ position: absolute;
223
+ cursor: pointer;
224
+ pointer-events: auto;
225
+ user-select: none;
226
+ width: 55px;
227
+ height: 55px;
228
+ }
229
+ .gis3d-compass .gis3d-compass-outer {
230
+ position: absolute;
231
+ top: 0;
232
+ left: 0;
233
+ height: 55px;
234
+ width: 55px;
235
+ background-repeat: no-repeat;
236
+ background-size: contain;
237
+ fill: #3f4854;
238
+ border-radius: 50%;
239
+ }
240
+ .gis3d-compass .gis3d-compass-outer svg {
241
+ height: 55px;
242
+ width: 55px;
243
+ }
244
+ .gis3d-compass .gis3d-compass-inner {
245
+ position: relative;
246
+ top: 50%;
247
+ transform: translateY(-50%);
248
+ height: 25px;
249
+ width: 25px;
250
+ border-radius: 50%;
251
+ display: block;
252
+ margin: 0 auto;
253
+ padding: 4px;
254
+ box-sizing: border-box;
255
+ background: #ffffff;
256
+ fill: #68adfe;
257
+ }
258
+ .gis3d-compass .gis3d-compass-rotation-arc {
259
+ position: absolute;
260
+ top: 2px;
261
+ left: 2px;
262
+ height: 51px;
263
+ width: 51px;
264
+ border-radius: 50%;
265
+ background-repeat: no-repeat;
266
+ background-size: contain;
267
+ }
268
+ .gis3d-distance-legend {
269
+ position: absolute;
270
+ width: 125px;
271
+ height: 25px;
272
+ pointer-events: none;
273
+ user-select: none;
274
+ }
275
+ .gis3d-distance-legend .legend-label {
276
+ font-size: 13px;
277
+ color: #ffffff;
278
+ text-align: center;
279
+ width: 100%;
280
+ }
281
+ .gis3d-distance-legend .legend-scale-bar {
282
+ position: absolute;
283
+ height: 10px;
284
+ top: 10px;
285
+ border-left: 1px solid #ffffff;
286
+ border-right: 1px solid #ffffff;
287
+ border-bottom: 1px solid #ffffff;
280
288
  }
281
289
  /**左下角,鼠标经纬度提示*/
282
- .mars3d-locationbar {
283
- position: absolute;
284
- z-index: 991;
285
- padding: 3px 10px;
286
- font-size: 13px;
287
- color: #e9e9e9;
288
- background-color: rgba(0, 0, 0, 0.4);
289
- min-height: 26px;
290
- pointer-events: none;
291
- }
292
- .mars3d-locationbar-content {
293
- float: right;
294
- }
295
- .mars3d-locationbar-content > div {
296
- float: left;
297
- margin-right: 20px;
290
+ .gis3d-locationbar {
291
+ position: absolute;
292
+ z-index: 991;
293
+ padding: 3px 10px;
294
+ font-size: 13px;
295
+ color: #e9e9e9;
296
+ background-color: rgba(0, 0, 0, 0.4);
297
+ min-height: 26px;
298
+ pointer-events: none;
299
+ }
300
+ .gis3d-locationbar-content {
301
+ float: right;
302
+ }
303
+ .gis3d-locationbar-content > div {
304
+ float: left;
305
+ margin-right: 20px;
298
306
  }
299
307
  .cesium-performanceDisplay-ms,
300
308
  .cesium-performanceDisplay-fps {
301
- min-width: 65px;
309
+ min-width: 65px;
302
310
  }
303
311
  /* 兼容屏幕大小 美观显示不同信息 */
304
312
  @media screen and (max-width: 1200px) {
305
- .mars3d-locationbar-content > div {
306
- margin-right: 15px;
307
- }
313
+ .gis3d-locationbar-content > div {
314
+ margin-right: 15px;
315
+ }
308
316
  }
309
317
  @media screen and (max-width: 1000px) {
310
- .cesium-performanceDisplay-ms,
311
- .cesium-performanceDisplay-fps,
312
- .mars3d-locationbar-content > .hide1000 {
313
- display: none;
314
- }
315
- .mars3d-locationbar-content > div {
316
- margin-right: 10px;
317
- }
318
+ .cesium-performanceDisplay-ms,
319
+ .cesium-performanceDisplay-fps,
320
+ .gis3d-locationbar-content > .hide1000 {
321
+ display: none;
322
+ }
323
+ .gis3d-locationbar-content > div {
324
+ margin-right: 10px;
325
+ }
318
326
  }
319
327
  @media screen and (max-width: 700px) {
320
- .mars3d-locationbar-content > .hide700 {
321
- display: none;
322
- }
328
+ .gis3d-locationbar-content > .hide700 {
329
+ display: none;
330
+ }
323
331
  }
324
332
  @media screen and (max-width: 600px) {
325
- .mars3d-locationbar {
326
- display: none;
327
- }
328
- }
329
- .mars3d-slider {
330
- position: absolute;
331
- left: 50%;
332
- top: 0px;
333
- background-color: #d3d3d3;
334
- width: 3px;
335
- height: 100%;
336
- z-index: 9999;
337
- }
338
- .mars3d-slider .slider-splitter {
339
- position: absolute;
340
- left: -15px;
341
- top: calc(50% - 15px);
342
- width: 32px;
343
- height: 32px;
344
- background: #f0eeee;
345
- border-radius: 50%;
346
- text-align: center;
347
- line-height: 36px;
348
- padding: 2px;
349
- border: 1px solid lightgrey;
350
- }
351
- .mars3d-slider .slider-splitter:hover {
352
- cursor: ew-resize;
333
+ .gis3d-locationbar {
334
+ display: none;
335
+ }
336
+ }
337
+ .gis3d-slider {
338
+ position: absolute;
339
+ left: 50%;
340
+ top: 0px;
341
+ background-color: #d3d3d3;
342
+ width: 3px;
343
+ height: 100%;
344
+ z-index: 9999;
345
+ }
346
+ .gis3d-slider .slider-splitter {
347
+ position: absolute;
348
+ left: -15px;
349
+ top: calc(50% - 15px);
350
+ width: 30px;
351
+ height: 30px;
352
+ background: #f0eeee;
353
+ border-radius: 50%;
354
+ text-align: center;
355
+ line-height: 40px;
356
+ padding: 2px;
357
+ border: 1px solid lightgrey;
358
+ }
359
+ .gis3d-slider .slider-splitter:hover {
360
+ cursor: ew-resize;
361
+ }
362
+ .gis3d-mapCompare {
363
+ position: absolute;
364
+ left: auto;
365
+ right: 0px;
366
+ top: 0px;
367
+ bottom: 0px;
368
+ width: 50%;
369
+ height: 100%;
370
+ margin: 0;
371
+ padding: 0;
353
372
  }
354
373
  /**滚轮样式*/
355
- .mars3d-mousedownview {
356
- position: absolute;
357
- top: 0px;
358
- left: 0px;
359
- width: 40px;
360
- height: 40px;
361
- margin-top: -23px;
362
- /*图片高度的一半*/
363
- margin-left: -23px;
364
- pointer-events: none;
365
- visibility: hidden;
366
- opacity: 0;
367
- -webkit-transition: visibility 0s 0.2s, opacity 0.2s ease-in;
368
- -moz-transition: visibility 0s 0.2s, opacity 0.2s ease-in;
369
- transition: visibility 0s 0.2s, opacity 0.2s ease-in;
370
- }
371
- .mars3d-mousedownview-img {
372
- width: 36px;
373
- height: 36px;
374
- background-image: url(./img/cursor.png);
375
- background-size: 100% 100%;
376
- }
377
- .mars3d-mousedownview-show {
378
- visibility: visible;
379
- opacity: 1;
380
- -webkit-transition: opacity 0.2s ease-out;
381
- -moz-transition: opacity 0.2s ease-out;
382
- transition: opacity 0.2s ease-out;
383
- }
384
- .mars3d-overviewMap {
385
- position: absolute;
386
- user-select: none;
387
- width: 200px;
388
- height: 150px;
389
- overflow: hidden;
390
- border: 1px solid orange;
391
- box-shadow: 2px 2px 3px #2b2b2b;
374
+ .gis3d-mousedownview {
375
+ position: absolute;
376
+ top: 0px;
377
+ left: 0px;
378
+ width: 40px;
379
+ height: 40px;
380
+ margin-top: -23px;
381
+ /*图片高度的一半*/
382
+ margin-left: -23px;
383
+ pointer-events: none;
384
+ visibility: hidden;
385
+ opacity: 0;
386
+ -webkit-transition: visibility 0s 0.2s, opacity 0.2s ease-in;
387
+ -moz-transition: visibility 0s 0.2s, opacity 0.2s ease-in;
388
+ transition: visibility 0s 0.2s, opacity 0.2s ease-in;
389
+ }
390
+ .gis3d-mousedownview-img {
391
+ width: 36px;
392
+ height: 36px;
393
+ background-image: url(./img/cursor.png);
394
+ background-size: 100% 100%;
395
+ }
396
+ .gis3d-mousedownview-show {
397
+ visibility: visible;
398
+ opacity: 1;
399
+ -webkit-transition: opacity 0.2s ease-out;
400
+ -moz-transition: opacity 0.2s ease-out;
401
+ transition: opacity 0.2s ease-out;
402
+ }
403
+ .gis3d-overviewMap {
404
+ position: absolute;
405
+ user-select: none;
406
+ width: 200px;
407
+ height: 150px;
408
+ overflow: hidden;
409
+ border: 1px solid orange;
410
+ box-shadow: 2px 2px 3px #2b2b2b;
392
411
  }
393
412
  .mar3d-toolButton {
394
- cursor: pointer;
413
+ cursor: pointer;
395
414
  }
396
415
  .mar3d-toolButton img,
397
416
  .mar3d-toolButton svg,
398
417
  .mar3d-toolButton div {
399
- height: 100%;
400
- text-align: center;
418
+ height: 100%;
419
+ text-align: center;
420
+ }
421
+ .gis3d-divGraphic {
422
+ position: absolute;
423
+ left: 0;
424
+ top: 0;
425
+ }
426
+ .gis3d-divGraphic-edit {
427
+ background-color: rgba(254, 87, 161, 0.1);
428
+ border: 2px dashed rgba(172, 85, 59, 0.768);
429
+ -webkit-border-radius: 2px;
430
+ border-radius: 2px;
431
+ margin: -2px;
432
+ box-sizing: content-box;
401
433
  }
402
434
  /**内置的DivGraphic通用样式【文本动态边框】*/
403
- .mars3d-divBoderLabel {
404
- position: absolute;
405
- left: 0px;
406
- bottom: 0px;
407
- cursor: pointer;
408
- --animation-name: mars3d-divBoderLabel-animation;
409
- --text-left-position: -75px;
410
- }
411
- @keyframes mars3d-divBoderLabel-animation {
412
- 0%,
413
- 100% {
414
- clip: rect(0px, var(--clip-width-1), 2px, 0px);
415
- }
416
- 25% {
417
- clip: rect(0px, 2px, var(--clip-height-1), 0px);
418
- }
419
- 50% {
420
- clip: rect(var(--clip-height-2), var(--clip-width-1), var(--clip-width-1), 0px);
421
- }
422
- 75% {
423
- clip: rect(0px, var(--clip-width-1), var(--clip-height-1), var(--clip-width-2));
424
- }
425
- }
426
- .mars3d-divBoderLabel-boder {
427
- width: var(--boder-width);
428
- height: var(--boder-height);
429
- margin: auto;
430
- color: var(--border-color);
431
- box-shadow: inset 0 0 0 1px var(--box-shadow-color);
432
- }
433
- .mars3d-divBoderLabel-text {
434
- color: var(--text-color);
435
- font-size: var(--text-font-size);
436
- display: flex;
437
- width: 100%;
438
- height: 100%;
439
- align-items: center;
440
- justify-content: center;
441
- font-weight: bolder;
442
- user-select: none;
443
- cursor: pointer;
444
- }
445
- .mars3d-divBoderLabel-boder,
446
- .mars3d-divBoderLabel-boder::before,
447
- .mars3d-divBoderLabel-boder::after {
448
- position: absolute;
449
- top: 0;
450
- bottom: 0;
451
- left: 0;
452
- right: 0;
453
- }
454
- .mars3d-divBoderLabel-boder::before,
455
- .mars3d-divBoderLabel-boder::after {
456
- content: '';
457
- margin: -5%;
458
- box-shadow: inset 0 0 0 2px;
459
- animation: var(--animation-name) 8s linear infinite;
460
- }
461
- .mars3d-divBoderLabel-boder::before {
462
- animation-delay: -4s;
463
- }
464
- .mars3d-divGraphic {
465
- position: absolute;
466
- left: 0;
467
- top: 0;
468
- -webkit-user-select: none;
469
- -moz-user-select: none;
470
- -ms-user-select: none;
471
- user-select: none;
472
- }
473
- .mars3d-divGraphic-edit {
474
- background-color: rgba(254, 87, 161, 0.1);
475
- border: 2px dashed rgba(172, 85, 59, 0.768);
476
- -webkit-border-radius: 2px;
477
- border-radius: 2px;
478
- margin: -2px;
479
- box-sizing: content-box;
480
- }
481
- /**内置的DivGraphic通用样式【动画点】*/
482
- .mars3d-animation-point,
483
- .mars3d-animation-point:after,
484
- .mars3d-animation-point:before,
485
- .mars3d-animation-point p,
486
- .mars3d-animation-point p:after,
487
- .mars3d-animation-point p:before {
488
- margin: 0;
489
- padding: 0;
490
- -webkit-box-sizing: border-box;
491
- -moz-box-sizing: border-box;
492
- -o-box-sizing: border-box;
493
- -ms-box-sizing: border-box;
494
- box-sizing: border-box;
495
- }
496
- .mars3d-animation-point {
497
- width: 10px;
498
- height: 10px;
499
- border-radius: 50%;
500
- border: 1px solid hsla(0, 0%, 100%, 0.5);
501
- cursor: pointer;
502
- color: #0ff;
503
- background: currentColor;
504
- z-index: 3;
505
- left: 50%;
506
- top: 50%;
507
- -webkit-transform: translate(-50%, -50%);
508
- -moz-transform: translate(-50%, -50%);
509
- -o-transform: translate(-50%, -50%);
510
- -ms-transform: translate(-50%, -50%);
511
- transform: translate(-50%, -50%);
512
- box-shadow: 0 0 2em currentColor, 0 0 0.5em currentColor;
513
- position: absolute;
514
- }
515
- .mars3d-animation-point p {
516
- position: absolute;
517
- left: 50%;
518
- top: 50%;
519
- width: 0;
520
- height: 0;
521
- border-radius: 50%;
522
- -webkit-transform: translate(-50%, -50%);
523
- -moz-transform: translate(-50%, -50%);
524
- -o-transform: translate(-50%, -50%);
525
- -ms-transform: translate(-50%, -50%);
526
- transform: translate(-50%, -50%);
527
- -webkit-animation: mars3d-animation-point-mapAni 2s ease infinite;
528
- -moz-animation: mars3d-animation-point-mapAni 2s ease infinite;
529
- -o-animation: mars3d-animation-point-mapAni 2s ease infinite;
530
- -ms-animation: mars3d-animation-point-mapAni 2s ease infinite;
531
- animation: mars3d-animation-point-mapAni 2s ease infinite;
532
- }
533
- .mars3d-animation-point .mapError {
534
- color: red;
535
- }
536
- .mars3d-animation-point .mapWarn {
537
- color: #b5a603;
538
- }
539
- .mars3d-animation-point .mapSuccess {
540
- color: #239233;
541
- }
542
- .mars3d-animation-point .mapOrange {
543
- color: #8c4d34;
544
- }
545
- .mars3d-animation-point:after,
546
- .mars3d-animation-point:before,
547
- .mars3d-animation-point p:after,
548
- .mars3d-animation-point p:before {
549
- content: '';
550
- position: absolute;
551
- width: 100%;
552
- height: 100%;
553
- left: 50%;
554
- top: 50%;
555
- border-radius: 50%;
556
- -webkit-transform: translate(-50%, -50%);
557
- -moz-transform: translate(-50%, -50%);
558
- -o-transform: translate(-50%, -50%);
559
- -ms-transform: translate(-50%, -50%);
560
- transform: translate(-50%, -50%);
561
- }
562
- .mars3d-animation-point:after,
563
- .mars3d-animation-point:before {
564
- border: 1px solid;
565
- -webkit-animation: mars3d-animation-point-mapAni 1s ease infinite;
566
- -moz-animation: mars3d-animation-point-mapAni 1s ease infinite;
567
- -o-animation: mars3d-animation-point-mapAni 1s ease infinite;
568
- -ms-animation: mars3d-animation-point-mapAni 1s ease infinite;
569
- animation: mars3d-animation-point-mapAni 1s ease infinite;
570
- }
571
- .mars3d-animation-point p:before {
572
- border: 1px solid;
573
- }
574
- @-webkit-keyframes mars3d-animation-point-mapAni {
575
- 0% {
576
- width: 0;
577
- height: 0;
578
- opacity: 1;
579
- filter: alpha(opacity=1);
580
- }
581
- 25% {
582
- width: 12px;
583
- height: 12px;
584
- opacity: 0.7;
585
- filter: alpha(opacity=70);
586
- }
587
- 50% {
588
- width: 20px;
589
- height: 20px;
590
- opacity: 0.5;
591
- filter: alpha(opacity=50);
592
- }
593
- 75% {
594
- width: 30px;
595
- height: 30px;
596
- opacity: 0.2;
597
- filter: alpha(opacity=20);
598
- }
599
- to {
600
- width: 40px;
601
- height: 40px;
602
- opacity: 0;
603
- filter: alpha(opacity=0);
604
- }
605
- }
606
- @-moz-keyframes mars3d-animation-point-mapAni {
607
- 0% {
608
- width: 0;
609
- height: 0;
610
- opacity: 1;
611
- filter: alpha(opacity=1);
612
- }
613
- 25% {
614
- width: 12px;
615
- height: 12px;
616
- opacity: 0.7;
617
- filter: alpha(opacity=70);
618
- }
619
- 50% {
620
- width: 20px;
621
- height: 20px;
622
- opacity: 0.5;
623
- filter: alpha(opacity=50);
624
- }
625
- 75% {
626
- width: 30px;
627
- height: 30px;
628
- opacity: 0.2;
629
- filter: alpha(opacity=20);
630
- }
631
- to {
632
- width: 40px;
633
- height: 40px;
634
- opacity: 0;
635
- filter: alpha(opacity=0);
636
- }
637
- }
638
- @-o-keyframes mars3d-animation-point-mapAni {
639
- 0% {
640
- width: 0;
641
- height: 0;
642
- opacity: 1;
643
- filter: alpha(opacity=1);
644
- }
645
- 25% {
646
- width: 12px;
647
- height: 12px;
648
- opacity: 0.7;
649
- filter: alpha(opacity=70);
650
- }
651
- 50% {
652
- width: 20px;
653
- height: 20px;
654
- opacity: 0.5;
655
- filter: alpha(opacity=50);
656
- }
657
- 75% {
658
- width: 30px;
659
- height: 30px;
660
- opacity: 0.2;
661
- filter: alpha(opacity=20);
662
- }
663
- to {
664
- width: 40px;
665
- height: 40px;
666
- opacity: 0;
667
- filter: alpha(opacity=0);
668
- }
669
- }
670
- @-ms-keyframes mars3d-animation-point-mapAni {
671
- 0% {
672
- width: 0;
673
- height: 0;
674
- opacity: 1;
675
- filter: alpha(opacity=1);
676
- }
677
- 25% {
678
- width: 12px;
679
- height: 12px;
680
- opacity: 0.7;
681
- filter: alpha(opacity=70);
682
- }
683
- 50% {
684
- width: 20px;
685
- height: 20px;
686
- opacity: 0.5;
687
- filter: alpha(opacity=50);
688
- }
689
- 75% {
690
- width: 30px;
691
- height: 30px;
692
- opacity: 0.2;
693
- filter: alpha(opacity=20);
694
- }
695
- to {
696
- width: 40px;
697
- height: 40px;
698
- opacity: 0;
699
- filter: alpha(opacity=0);
700
- }
701
- }
702
- @keyframes mars3d-animation-point-mapAni {
703
- 0% {
704
- width: 0;
705
- height: 0;
706
- opacity: 1;
707
- filter: alpha(opacity=1);
708
- }
709
- 25% {
710
- width: 12px;
711
- height: 12px;
712
- opacity: 0.7;
713
- filter: alpha(opacity=70);
714
- }
715
- 50% {
716
- width: 20px;
717
- height: 20px;
718
- opacity: 0.5;
719
- filter: alpha(opacity=50);
720
- }
721
- 75% {
722
- width: 30px;
723
- height: 30px;
724
- opacity: 0.2;
725
- filter: alpha(opacity=20);
726
- }
727
- to {
728
- width: 40px;
729
- height: 40px;
730
- opacity: 0;
731
- filter: alpha(opacity=0);
732
- }
733
- }
734
- .mars3d-divUpLabel {
735
- text-align: center;
736
- background: transparent;
737
- color: white;
738
- display: block;
739
- box-sizing: border-box;
740
- animation-duration: 1s;
741
- animation-fill-mode: both;
742
- animation-name: mars3d-divUpLabel-tinUpIn;
743
- }
744
- .mars3d-divUpLabel-text {
745
- writing-mode: vertical-lr;
746
- font-size: 16px;
747
- letter-spacing: 4px;
748
- }
749
- .mars3d-divUpLabel-line {
750
- display: block;
751
- height: 100px;
752
- width: 1.5px;
753
- margin-left: calc(50% - 1px);
754
- margin-top: 3px;
755
- background-color: white;
756
- }
757
- @keyframes mars3d-divUpLabel-tinUpIn {
758
- 0% {
759
- opacity: 0;
760
- transform: scale(1, 1) translateY(-900%);
761
- }
762
- 50%,
763
- 70%,
764
- 90% {
765
- opacity: 1;
766
- transform: scale(1.1, 1.1) translateY(0);
767
- }
768
- 100%,
769
- 60%,
770
- 80% {
771
- opacity: 1;
772
- transform: scale(1, 1) translateY(0);
773
- }
435
+ .gis3d-divBoderLabel {
436
+ position: absolute;
437
+ left: 0px;
438
+ bottom: 0px;
439
+ cursor: pointer;
440
+ --animation-name: gis3d-divBoderLabel-animation;
441
+ --text-left-position: -75px;
442
+ }
443
+ @keyframes gis3d-divBoderLabel-animation {
444
+ 0%,
445
+ 100% {
446
+ clip: rect(0px, var(--clip-width-1), 2px, 0px);
447
+ }
448
+ 25% {
449
+ clip: rect(0px, 2px, var(--clip-height-1), 0px);
450
+ }
451
+ 50% {
452
+ clip: rect(var(--clip-height-2), var(--clip-width-1), var(--clip-width-1), 0px);
453
+ }
454
+ 75% {
455
+ clip: rect(0px, var(--clip-width-1), var(--clip-height-1), var(--clip-width-2));
456
+ }
457
+ }
458
+ .gis3d-divBoderLabel-boder {
459
+ width: var(--boder-width);
460
+ height: var(--boder-height);
461
+ margin: auto;
462
+ color: var(--border-color);
463
+ box-shadow: inset 0 0 0 1px var(--box-shadow-color);
464
+ }
465
+ .gis3d-divBoderLabel-text {
466
+ color: var(--text-color);
467
+ font-size: var(--text-font-size);
468
+ display: flex;
469
+ width: 100%;
470
+ height: 100%;
471
+ align-items: center;
472
+ justify-content: center;
473
+ font-weight: bolder;
474
+ user-select: none;
475
+ cursor: pointer;
476
+ }
477
+ .gis3d-divBoderLabel-boder,
478
+ .gis3d-divBoderLabel-boder::before,
479
+ .gis3d-divBoderLabel-boder::after {
480
+ position: absolute;
481
+ top: 0;
482
+ bottom: 0;
483
+ left: 0;
484
+ right: 0;
485
+ }
486
+ .gis3d-divBoderLabel-boder::before,
487
+ .gis3d-divBoderLabel-boder::after {
488
+ content: "";
489
+ margin: -5%;
490
+ box-shadow: inset 0 0 0 2px;
491
+ animation: var(--animation-name) 8s linear infinite;
492
+ }
493
+ .gis3d-divBoderLabel-boder::before {
494
+ animation-delay: -4s;
495
+ }
496
+ .gis3d-animation-point,
497
+ .gis3d-animation-point:after,
498
+ .gis3d-animation-point:before,
499
+ .gis3d-animation-point p,
500
+ .gis3d-animation-point p:after,
501
+ .gis3d-animation-point p:before {
502
+ margin: 0;
503
+ padding: 0;
504
+ -webkit-box-sizing: border-box;
505
+ -moz-box-sizing: border-box;
506
+ -o-box-sizing: border-box;
507
+ -ms-box-sizing: border-box;
508
+ box-sizing: border-box;
509
+ }
510
+ .gis3d-animation-point {
511
+ width: 10px;
512
+ height: 10px;
513
+ border-radius: 50%;
514
+ border: 1px solid hsla(0, 0%, 100%, 0.5);
515
+ cursor: pointer;
516
+ color: #0ff;
517
+ background: currentColor;
518
+ z-index: 3;
519
+ left: 50%;
520
+ top: 50%;
521
+ -webkit-transform: translate(-50%, -50%);
522
+ -moz-transform: translate(-50%, -50%);
523
+ -o-transform: translate(-50%, -50%);
524
+ -ms-transform: translate(-50%, -50%);
525
+ transform: translate(-50%, -50%);
526
+ box-shadow: 0 0 2em currentColor, 0 0 0.5em currentColor;
527
+ position: absolute;
528
+ }
529
+ .gis3d-animation-point .gis3d-animation-point-lbl {
530
+ position: absolute;
531
+ transform: translate(-50%, -120%);
532
+ left: 50%;
533
+ font-size: 16px;
534
+ width: fit-content;
535
+ white-space: nowrap;
536
+ }
537
+ .gis3d-animation-point p {
538
+ position: absolute;
539
+ left: 50%;
540
+ top: 50%;
541
+ width: 0;
542
+ height: 0;
543
+ border-radius: 50%;
544
+ -webkit-transform: translate(-50%, -50%);
545
+ -moz-transform: translate(-50%, -50%);
546
+ -o-transform: translate(-50%, -50%);
547
+ -ms-transform: translate(-50%, -50%);
548
+ transform: translate(-50%, -50%);
549
+ -webkit-animation: gis3d-animation-point-mapAni 2s ease infinite;
550
+ -moz-animation: gis3d-animation-point-mapAni 2s ease infinite;
551
+ -o-animation: gis3d-animation-point-mapAni 2s ease infinite;
552
+ -ms-animation: gis3d-animation-point-mapAni 2s ease infinite;
553
+ animation: gis3d-animation-point-mapAni 2s ease infinite;
554
+ }
555
+ .gis3d-animation-point .mapError {
556
+ color: red;
557
+ }
558
+ .gis3d-animation-point .mapWarn {
559
+ color: #b5a603;
560
+ }
561
+ .gis3d-animation-point .mapSuccess {
562
+ color: #239233;
563
+ }
564
+ .gis3d-animation-point .mapOrange {
565
+ color: #8c4d34;
566
+ }
567
+ .gis3d-animation-point:after,
568
+ .gis3d-animation-point:before,
569
+ .gis3d-animation-point p:after,
570
+ .gis3d-animation-point p:before {
571
+ content: "";
572
+ position: absolute;
573
+ width: 100%;
574
+ height: 100%;
575
+ left: 50%;
576
+ top: 50%;
577
+ border-radius: 50%;
578
+ -webkit-transform: translate(-50%, -50%);
579
+ -moz-transform: translate(-50%, -50%);
580
+ -o-transform: translate(-50%, -50%);
581
+ -ms-transform: translate(-50%, -50%);
582
+ transform: translate(-50%, -50%);
583
+ }
584
+ .gis3d-animation-point:after,
585
+ .gis3d-animation-point:before {
586
+ border: 1px solid;
587
+ -webkit-animation: gis3d-animation-point-mapAni 1s ease infinite;
588
+ -moz-animation: gis3d-animation-point-mapAni 1s ease infinite;
589
+ -o-animation: gis3d-animation-point-mapAni 1s ease infinite;
590
+ -ms-animation: gis3d-animation-point-mapAni 1s ease infinite;
591
+ animation: gis3d-animation-point-mapAni 1s ease infinite;
592
+ }
593
+ .gis3d-animation-point p:before {
594
+ border: 1px solid;
595
+ }
596
+ @-webkit-keyframes gis3d-animation-point-mapAni {
597
+ 0% {
598
+ width: 0;
599
+ height: 0;
600
+ opacity: 1;
601
+ filter: alpha(opacity=1);
602
+ }
603
+ 25% {
604
+ width: 120%;
605
+ height: 120%;
606
+ opacity: 0.7;
607
+ filter: alpha(opacity=70);
608
+ }
609
+ 50% {
610
+ width: 200%;
611
+ height: 200%;
612
+ opacity: 0.5;
613
+ filter: alpha(opacity=50);
614
+ }
615
+ 75% {
616
+ width: 300%;
617
+ height: 300%;
618
+ opacity: 0.2;
619
+ filter: alpha(opacity=20);
620
+ }
621
+ to {
622
+ width: 400%;
623
+ height: 400%;
624
+ opacity: 0;
625
+ filter: alpha(opacity=0);
626
+ }
627
+ }
628
+ @-moz-keyframes gis3d-animation-point-mapAni {
629
+ 0% {
630
+ width: 0;
631
+ height: 0;
632
+ opacity: 1;
633
+ filter: alpha(opacity=1);
634
+ }
635
+ 25% {
636
+ width: 120%;
637
+ height: 120%;
638
+ opacity: 0.7;
639
+ filter: alpha(opacity=70);
640
+ }
641
+ 50% {
642
+ width: 200%;
643
+ height: 200%;
644
+ opacity: 0.5;
645
+ filter: alpha(opacity=50);
646
+ }
647
+ 75% {
648
+ width: 300%;
649
+ height: 300%;
650
+ opacity: 0.2;
651
+ filter: alpha(opacity=20);
652
+ }
653
+ to {
654
+ width: 400%;
655
+ height: 400%;
656
+ opacity: 0;
657
+ filter: alpha(opacity=0);
658
+ }
659
+ }
660
+ @-o-keyframes gis3d-animation-point-mapAni {
661
+ 0% {
662
+ width: 0;
663
+ height: 0;
664
+ opacity: 1;
665
+ filter: alpha(opacity=1);
666
+ }
667
+ 25% {
668
+ width: 120%;
669
+ height: 120%;
670
+ opacity: 0.7;
671
+ filter: alpha(opacity=70);
672
+ }
673
+ 50% {
674
+ width: 200%;
675
+ height: 200%;
676
+ opacity: 0.5;
677
+ filter: alpha(opacity=50);
678
+ }
679
+ 75% {
680
+ width: 300%;
681
+ height: 300%;
682
+ opacity: 0.2;
683
+ filter: alpha(opacity=20);
684
+ }
685
+ to {
686
+ width: 400%;
687
+ height: 400%;
688
+ opacity: 0;
689
+ filter: alpha(opacity=0);
690
+ }
691
+ }
692
+ @-ms-keyframes gis3d-animation-point-mapAni {
693
+ 0% {
694
+ width: 0;
695
+ height: 0;
696
+ opacity: 1;
697
+ filter: alpha(opacity=1);
698
+ }
699
+ 25% {
700
+ width: 120%;
701
+ height: 120%;
702
+ opacity: 0.7;
703
+ filter: alpha(opacity=70);
704
+ }
705
+ 50% {
706
+ width: 200%;
707
+ height: 200%;
708
+ opacity: 0.5;
709
+ filter: alpha(opacity=50);
710
+ }
711
+ 75% {
712
+ width: 300%;
713
+ height: 300%;
714
+ opacity: 0.2;
715
+ filter: alpha(opacity=20);
716
+ }
717
+ to {
718
+ width: 400%;
719
+ height: 400%;
720
+ opacity: 0;
721
+ filter: alpha(opacity=0);
722
+ }
723
+ }
724
+ @keyframes gis3d-animation-point-mapAni {
725
+ 0% {
726
+ width: 0;
727
+ height: 0;
728
+ opacity: 1;
729
+ filter: alpha(opacity=1);
730
+ }
731
+ 25% {
732
+ width: 120%;
733
+ height: 120%;
734
+ opacity: 0.7;
735
+ filter: alpha(opacity=70);
736
+ }
737
+ 50% {
738
+ width: 200%;
739
+ height: 200%;
740
+ opacity: 0.5;
741
+ filter: alpha(opacity=50);
742
+ }
743
+ 75% {
744
+ width: 300%;
745
+ height: 300%;
746
+ opacity: 0.2;
747
+ filter: alpha(opacity=20);
748
+ }
749
+ to {
750
+ width: 400%;
751
+ height: 400%;
752
+ opacity: 0;
753
+ filter: alpha(opacity=0);
754
+ }
755
+ }
756
+ .gis3d-divUpLabel {
757
+ text-align: center;
758
+ background: transparent;
759
+ color: white;
760
+ display: block;
761
+ box-sizing: border-box;
762
+ animation-duration: 1s;
763
+ animation-fill-mode: both;
764
+ animation-name: gis3d-divUpLabel-tinUpIn;
765
+ }
766
+ .gis3d-divUpLabel-text {
767
+ writing-mode: vertical-lr;
768
+ font-size: 16px;
769
+ letter-spacing: 4px;
770
+ }
771
+ .gis3d-divUpLabel-line {
772
+ display: block;
773
+ height: 100px;
774
+ width: 1.5px;
775
+ margin-left: calc(50% - 1px);
776
+ margin-top: 3px;
777
+ background-color: white;
778
+ }
779
+ @keyframes gis3d-divUpLabel-tinUpIn {
780
+ 0% {
781
+ opacity: 0;
782
+ transform: scale(1, 1) translateY(-900%);
783
+ }
784
+ 50%,
785
+ 70%,
786
+ 90% {
787
+ opacity: 1;
788
+ transform: scale(1.1, 1.1) translateY(0);
789
+ }
790
+ 100%,
791
+ 60%,
792
+ 80% {
793
+ opacity: 1;
794
+ transform: scale(1, 1) translateY(0);
795
+ }
774
796
  }
775
797
  /*****popup弹出框样式******/
776
798
  /*白色字体,如果黑色改为:#2b2929;*/
777
799
  /*黑色背景,如果白色改为:rgba(255,255,255,0.85);*/
778
- .mars3d-popup {
779
- -webkit-user-select: auto;
780
- -moz-user-select: auto;
781
- -ms-user-select: auto;
782
- user-select: auto;
783
- }
784
- .mars3d-popup-close-button {
785
- position: absolute;
786
- top: 0;
787
- right: 0;
788
- padding: 4px 4px 0 0;
789
- text-align: center;
790
- width: 20px;
791
- height: 20px;
792
- font: 16px/14px Tahoma, Verdana, sans-serif;
793
- text-decoration: none;
794
- font-weight: bold;
795
- background: transparent;
796
- z-index: 20170825;
797
- cursor: pointer;
798
- }
799
- .mars3d-popup-content-wrapper {
800
- text-align: center;
801
- box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
802
- padding: 1px;
803
- text-align: left;
804
- border-radius: 3px;
805
- }
806
- .mars3d-popup-content {
807
- margin: 10px;
808
- line-height: 1.4;
809
- font-size: 13px;
810
- max-width: 700px;
811
- min-width: 50px;
812
- max-height: 550px;
813
- overflow-y: auto;
814
- }
815
- .mars3d-popup-tip-container {
816
- margin: 0 auto;
817
- width: 40px;
818
- height: 20px;
819
- position: relative;
820
- overflow: hidden;
821
- }
822
- .mars3d-popup-tip {
823
- box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
824
- width: 17px;
825
- height: 17px;
826
- padding: 1px;
827
- margin: -10px auto 0;
828
- -webkit-transform: rotate(45deg);
829
- -moz-transform: rotate(45deg);
830
- -ms-transform: rotate(45deg);
831
- -o-transform: rotate(45deg);
832
- transform: rotate(45deg);
833
- }
834
- .mars3d-popup-scrolled {
835
- overflow: auto;
836
- border-bottom: 1px solid #ddd;
837
- border-top: 1px solid #ddd;
838
- }
839
- .mars3d-popup-color {
840
- color: #ffffff;
841
- }
842
- .mars3d-popup-background {
843
- background: rgba(63, 72, 84, 0.9);
844
- }
845
- .mars3d-popup-animation {
846
- animation-duration: 0.3s;
847
- animation-fill-mode: both;
848
- animation-name: mars3d-popup-swashIn;
849
- }
850
- @keyframes mars3d-popup-swashIn {
851
- 0% {
852
- opacity: 0;
853
- transform-origin: 50% 50%;
854
- transform: scale(0, 0);
855
- }
856
- 90% {
857
- opacity: 1;
858
- transform-origin: 50% 50%;
859
- transform: scale(0.9, 0.9);
860
- }
861
- 100% {
862
- opacity: 1;
863
- transform-origin: 50% 50%;
864
- transform: scale(1, 1);
865
- }
866
- }
867
- .mars3d-popup-background {
868
- background: rgba(41, 84, 141, 0.9) !important;
869
- }
870
- .mars3d-popup-btn {
871
- padding: 3px 10px;
872
- border: 1px solid #209ffd;
873
- background: #209ffd1c;
800
+ .gis3d-popup {
801
+ -webkit-user-select: auto;
802
+ -moz-user-select: auto;
803
+ -ms-user-select: auto;
804
+ user-select: auto;
805
+ }
806
+ .gis3d-popup-close-button {
807
+ position: absolute;
808
+ top: 0;
809
+ right: 0;
810
+ padding: 4px 4px 0 0;
811
+ text-align: center;
812
+ width: 20px;
813
+ height: 20px;
814
+ font: 16px/14px Tahoma, Verdana, sans-serif;
815
+ text-decoration: none;
816
+ font-weight: bold;
817
+ background: transparent;
818
+ z-index: 20170825;
819
+ cursor: pointer;
820
+ }
821
+ .gis3d-popup-content-wrapper {
822
+ text-align: center;
823
+ box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
824
+ padding: 1px;
825
+ text-align: left;
826
+ border-radius: 3px;
827
+ }
828
+ .gis3d-popup-content {
829
+ margin: 10px;
830
+ line-height: 1.4;
831
+ font-size: 13px;
832
+ max-width: 700px;
833
+ min-width: 50px;
834
+ max-height: 550px;
835
+ overflow-y: auto;
836
+ }
837
+ .gis3d-popup-tip-container {
838
+ margin: 0 auto;
839
+ width: 40px;
840
+ height: 20px;
841
+ position: relative;
842
+ overflow: hidden;
843
+ }
844
+ .gis3d-popup-tip {
845
+ box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
846
+ width: 17px;
847
+ height: 17px;
848
+ padding: 1px;
849
+ margin: -10px auto 0;
850
+ -webkit-transform: rotate(45deg);
851
+ -moz-transform: rotate(45deg);
852
+ -ms-transform: rotate(45deg);
853
+ -o-transform: rotate(45deg);
854
+ transform: rotate(45deg);
855
+ }
856
+ .gis3d-popup-scrolled {
857
+ overflow: auto;
858
+ border-bottom: 1px solid #ddd;
859
+ border-top: 1px solid #ddd;
860
+ }
861
+ .gis3d-popup-color {
862
+ color: #ffffff;
863
+ }
864
+ .gis3d-popup-background {
865
+ background: rgba(63, 72, 84, 0.9);
866
+ }
867
+ .gis3d-popup-animation {
868
+ animation-duration: 0.3s;
869
+ animation-fill-mode: both;
870
+ animation-name: gis3d-popup-swashIn;
871
+ }
872
+ @keyframes gis3d-popup-swashIn {
873
+ 0% {
874
+ opacity: 0;
875
+ transform-origin: 50% 50%;
876
+ transform: scale(0, 0);
877
+ }
878
+ 90% {
879
+ opacity: 1;
880
+ transform-origin: 50% 50%;
881
+ transform: scale(0.9, 0.9);
882
+ }
883
+ 100% {
884
+ opacity: 1;
885
+ transform-origin: 50% 50%;
886
+ transform: scale(1, 1);
887
+ }
888
+ }
889
+ .gis3d-popup-btn {
890
+ padding: 3px 10px;
891
+ border: 1px solid #209ffd;
892
+ background: #209ffd1c;
874
893
  }
875
894
  /* all 中的html样式 */
876
- .mars3d-template-titile {
877
- border-radius: 3px 0 0 3px;
878
- padding: 0 80px 0 10px;
879
- height: 40px;
880
- line-height: 40px;
881
- font-size: 16px;
882
- color: #ffffff;
883
- border-bottom: 1px solid #616161;
884
- overflow: hidden;
885
- }
886
- .mars3d-template-content {
887
- min-width: 150px;
888
- margin-top: 12px;
889
- font-size: 14px;
890
- max-height: 490px;
891
- overflow-y: auto;
892
- }
893
- .mars3d-template-content > div {
894
- margin-top: 5px;
895
- }
896
- .mars3d-template-content label {
897
- margin: 0 10px;
898
- min-width: 55px;
899
- float: left;
900
- }
901
- .mars3d-template-content input {
902
- color: #ffffff;
903
- background-color: rgba(63, 72, 84, 0.9);
904
- border-width: 1px;
905
- border-style: solid;
906
- }
907
- .mars3d-template-content textarea {
908
- color: #ffffff;
909
- background-color: rgba(63, 72, 84, 0.9);
910
- border-width: 1px;
911
- border-style: solid;
912
- height: 60px;
913
- resize: none;
895
+ .gis3d-template-titile {
896
+ border-radius: 3px 0 0 3px;
897
+ padding: 0 80px 0 10px;
898
+ height: 40px;
899
+ line-height: 40px;
900
+ font-size: 16px;
901
+ color: #ffffff;
902
+ border-bottom: 1px solid #616161;
903
+ overflow: hidden;
904
+ }
905
+ .gis3d-template-content {
906
+ min-width: 150px;
907
+ margin-top: 12px;
908
+ font-size: 14px;
909
+ max-height: 490px;
910
+ overflow-y: auto;
911
+ }
912
+ .gis3d-template-content > div {
913
+ margin-top: 5px;
914
+ }
915
+ .gis3d-template-content label {
916
+ margin: 0 10px;
917
+ min-width: 55px;
918
+ float: left;
919
+ }
920
+ .gis3d-template-content input {
921
+ color: #ffffff;
922
+ background-color: transparent;
923
+ padding: 4px 5px;
924
+ border-width: 1px;
925
+ border-style: solid;
926
+ }
927
+ .gis3d-template-content textarea {
928
+ color: #ffffff;
929
+ background-color: transparent;
930
+ padding: 4px 5px;
931
+ border-width: 1px;
932
+ border-style: solid;
933
+ height: 60px;
934
+ resize: none;
914
935
  }
915
936
  /*****tooltip弹出框样式******/
916
937
  /*白色字体,如果黑色改为:#2b2929;*/
917
938
  /*黑色背景,如果白色改为:rgba(255,255,255,0.85);*/
918
- .mars3d-tooltip {
919
- padding: 6px;
920
- background: rgba(63, 72, 84, 0.9);
921
- border: 1px solid rgba(63, 72, 84, 0.9);
922
- border-radius: 3px;
923
- color: #ffffff;
924
- white-space: nowrap;
925
- -webkit-user-select: none;
926
- -moz-user-select: none;
927
- -ms-user-select: none;
928
- user-select: none;
929
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
930
- max-width: 700px;
931
- min-width: 50px;
932
- max-height: 550px;
933
- }
934
- .mars3d-tooltip-top:before,
935
- .mars3d-tooltip-bottom:before,
936
- .mars3d-tooltip-left:before,
937
- .mars3d-tooltip-right:before {
938
- position: absolute;
939
- pointer-events: none;
940
- border: 6px solid transparent;
941
- background: transparent;
942
- content: '';
939
+ .gis3d-tooltip {
940
+ padding: 6px;
941
+ background: rgba(63, 72, 84, 0.9);
942
+ border: 1px solid rgba(63, 72, 84, 0.9);
943
+ border-radius: 3px;
944
+ color: #ffffff;
945
+ white-space: nowrap;
946
+ -webkit-user-select: none;
947
+ -moz-user-select: none;
948
+ -ms-user-select: none;
949
+ user-select: none;
950
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
951
+ max-width: 700px;
952
+ min-width: 50px;
953
+ max-height: 550px;
954
+ }
955
+ .gis3d-tooltip-top:before,
956
+ .gis3d-tooltip-bottom:before,
957
+ .gis3d-tooltip-left:before,
958
+ .gis3d-tooltip-right:before {
959
+ position: absolute;
960
+ pointer-events: none;
961
+ border: 6px solid transparent;
962
+ background: transparent;
963
+ content: "";
943
964
  }
944
965
  /* Directions */
945
- .mars3d-tooltip-bottom {
946
- margin-top: 6px;
947
- }
948
- .mars3d-tooltip-top {
949
- margin-top: -6px;
950
- }
951
- .mars3d-tooltip-bottom:before,
952
- .mars3d-tooltip-top:before {
953
- left: 50%;
954
- margin-left: -6px;
955
- }
956
- .mars3d-tooltip-top:before {
957
- bottom: 0;
958
- margin-bottom: -12px;
959
- border-top-color: rgba(63, 72, 84, 0.9);
960
- }
961
- .mars3d-tooltip-bottom:before {
962
- top: 0;
963
- margin-top: -6px;
964
- margin-left: -6px;
965
- border-bottom-color: rgba(63, 72, 84, 0.9);
966
- }
967
- .mars3d-tooltip-left {
968
- margin-left: -6px;
969
- }
970
- .mars3d-tooltip-right {
971
- margin-left: 6px;
972
- }
973
- .mars3d-tooltip-left:before,
974
- .mars3d-tooltip-right:before {
975
- top: 50%;
976
- margin-top: -6px;
977
- }
978
- .mars3d-tooltip-left:before {
979
- right: 0;
980
- margin-right: -12px;
981
- border-left-color: rgba(63, 72, 84, 0.9);
982
- }
983
- .mars3d-tooltip-right:before {
984
- left: 0;
985
- margin-left: -6px;
986
- border-right-color: rgba(63, 72, 84, 0.9);
987
- }
988
- .mars3d-widgetbar {
989
- margin: 0 auto;
990
- position: absolute;
991
- bottom: 30px;
992
- left: 20%;
993
- width: 60%;
994
- height: auto;
995
- z-index: 1987;
996
- }
997
- .mars3d-widgetbar .fa {
998
- margin-right: 5px;
966
+ .gis3d-tooltip-bottom {
967
+ margin-top: 6px;
968
+ }
969
+ .gis3d-tooltip-top {
970
+ margin-top: -6px;
971
+ }
972
+ .gis3d-tooltip-bottom:before,
973
+ .gis3d-tooltip-top:before {
974
+ left: 50%;
975
+ margin-left: -6px;
976
+ }
977
+ .gis3d-tooltip-top:before {
978
+ bottom: 0;
979
+ margin-bottom: -12px;
980
+ border-top-color: rgba(63, 72, 84, 0.9);
981
+ }
982
+ .gis3d-tooltip-bottom:before {
983
+ top: 0;
984
+ margin-top: -6px;
985
+ margin-left: -6px;
986
+ border-bottom-color: rgba(63, 72, 84, 0.9);
987
+ }
988
+ .gis3d-tooltip-left {
989
+ margin-left: -6px;
990
+ }
991
+ .gis3d-tooltip-right {
992
+ margin-left: 6px;
993
+ }
994
+ .gis3d-tooltip-left:before,
995
+ .gis3d-tooltip-right:before {
996
+ top: 50%;
997
+ margin-top: -6px;
998
+ }
999
+ .gis3d-tooltip-left:before {
1000
+ right: 0;
1001
+ margin-right: -12px;
1002
+ border-left-color: rgba(63, 72, 84, 0.9);
1003
+ }
1004
+ .gis3d-tooltip-right:before {
1005
+ left: 0;
1006
+ margin-left: -6px;
1007
+ border-right-color: rgba(63, 72, 84, 0.9);
1008
+ }
1009
+ .gis3d-widgetbar {
1010
+ margin: 0 auto;
1011
+ position: absolute;
1012
+ bottom: 30px;
1013
+ left: 20%;
1014
+ width: 60%;
1015
+ height: auto;
1016
+ z-index: 1987;
1017
+ }
1018
+ .gis3d-widgetbar .fa {
1019
+ margin-right: 5px;
999
1020
  }