Skip to content

Commit 3fb9a59

Browse files
committed
同步代码
1 parent 55f8ba6 commit 3fb9a59

File tree

636 files changed

+9002
-1770
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

636 files changed

+9002
-1770
lines changed

public/config/config.json

Lines changed: 1007 additions & 238 deletions
Large diffs are not rendered by default.

public/config/example.json

Lines changed: 52 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"api": "Map.html#expImage",
174174
"hasPannel": true,
175175
"resources": [
176-
"/temp/css/divGraphic.css",
176+
"/img/div-graphic/divGraphic.css",
177177
"/lib/dom2img/dom-to-image.js",
178178
"/lib/dom2img/html2canvas.js"
179179
]
@@ -311,6 +311,23 @@
311311
"main": "thing/camera/cameraHistory-limit",
312312
"api": "CameraHistory.html",
313313
"hasPannel": true
314+
},
315+
{
316+
"name": "执行时序任务",
317+
"thumbnail": "thing-other-task.jpg",
318+
"main": "thing/other/task",
319+
"api": "Task.html",
320+
"hasPannel": true,
321+
"resources": [
322+
"CameraList.js",
323+
"CameraView.js",
324+
"MapRotate.js",
325+
"PointRotate.js",
326+
"RouteLine.js",
327+
"ZoomIn.js",
328+
"ZoomOut.js",
329+
"FlickerEntity.js"
330+
]
314331
}
315332
]
316333
},
@@ -874,7 +891,7 @@
874891
"developerShow": false,
875892
"hasPannel": true,
876893
"resources": [
877-
"/temp/css/divGraphic.css"
894+
"/img/div-graphic/divGraphic.css"
878895
]
879896
},
880897
{
@@ -1014,7 +1031,12 @@
10141031
"thumbnail": "layerg-wfs-geoserver.jpg",
10151032
"main": "layer-graphic/wfs/geoserver",
10161033
"api": "WfsLayer.html",
1017-
"hasPannel": true
1034+
"hasPannel": true,
1035+
"libs": [
1036+
"mars3d",
1037+
"localforage",
1038+
"cesium-networkPlug"
1039+
]
10181040
},
10191041
{
10201042
"name": "ArcGIS Server动态图层",
@@ -1037,14 +1059,6 @@
10371059
"main": "layer-graphic/wfs/arcgis-feature-surface",
10381060
"api": "ArcGisWfsLayer.html",
10391061
"download": false
1040-
},
1041-
{
1042-
"name": "高德POI图层",
1043-
"thumbnail": "layerg-wfs-gaodePOI.jpg",
1044-
"main": "layer-graphic/wfs/gaodePOI",
1045-
"api": "GeodePoiLayer.html",
1046-
"hasPannel": true,
1047-
"download": false
10481062
}
10491063
]
10501064
},
@@ -1242,7 +1256,7 @@
12421256
"developerShow": false,
12431257
"hasPannel": true,
12441258
"resources": [
1245-
"city.css"
1259+
"/img/div-graphic/divGraphic.css"
12461260
],
12471261
"download": false
12481262
}
@@ -1601,7 +1615,7 @@
16011615
"api": "DivBillboardPrimitive.html",
16021616
"hasPannel": true,
16031617
"resources": [
1604-
"/temp/css/divGraphic.css",
1618+
"/img/div-graphic/divGraphic.css",
16051619
"/lib/dom2img/dom-to-image.js"
16061620
]
16071621
},
@@ -1695,7 +1709,7 @@
16951709
"main": "graphic/divGraphic/basis",
16961710
"api": "DivGraphic.html",
16971711
"resources": [
1698-
"/temp/css/divGraphic.css"
1712+
"/img/div-graphic/divGraphic.css"
16991713
],
17001714
"hasPannel": true
17011715
},
@@ -1718,7 +1732,7 @@
17181732
"api": "DivPlane.html",
17191733
"hasPannel": true,
17201734
"resources": [
1721-
"/temp/css/divGraphic.css"
1735+
"/img/div-graphic/divGraphic.css"
17221736
]
17231737
},
17241738
{
@@ -1735,7 +1749,7 @@
17351749
"api": "DivGraphic.html",
17361750
"developerShow": false,
17371751
"resources": [
1738-
"/temp/css/divGraphic.css"
1752+
"/img/div-graphic/divGraphic.css"
17391753
]
17401754
},
17411755
{
@@ -1746,7 +1760,7 @@
17461760
"hasPannel": true,
17471761
"developerShow": false,
17481762
"resources": [
1749-
"/temp/css/divGraphic.css"
1763+
"/img/div-graphic/divGraphic.css"
17501764
]
17511765
},
17521766
{
@@ -1780,8 +1794,7 @@
17801794
"developerShow": false,
17811795
"hasPannel": true,
17821796
"resources": [
1783-
"camera.css",
1784-
"/temp/css/divGraphic.css"
1797+
"/img/div-graphic/divGraphic.css"
17851798
]
17861799
},
17871800
{
@@ -1795,8 +1808,7 @@
17951808
"mars3d"
17961809
],
17971810
"resources": [
1798-
"camera.css",
1799-
"/temp/css/divGraphic.css"
1811+
"/img/div-graphic/divGraphic.css"
18001812
],
18011813
"hidden": true,
18021814
"download": false
@@ -2236,7 +2248,7 @@
22362248
"developerShow": false,
22372249
"hasPannel": true,
22382250
"resources": [
2239-
"/temp/css/divGraphic.css"
2251+
"/img/div-graphic/divGraphic.css"
22402252
]
22412253
},
22422254
{
@@ -2271,7 +2283,7 @@
22712283
"developerShow": false,
22722284
"hasPannel": true,
22732285
"resources": [
2274-
"/temp/css/divGraphic.css"
2286+
"/img/div-graphic/divGraphic.css"
22752287
]
22762288
},
22772289
{
@@ -2613,7 +2625,7 @@
26132625
"hasPannel": true,
26142626
"resources": [
26152627
"camera.css",
2616-
"/temp/css/divGraphic.css"
2628+
"/img/div-graphic/divGraphic.css"
26172629
]
26182630
},
26192631
{
@@ -3029,15 +3041,15 @@
30293041
"thumbnail": "graphic-apply-district.jpg",
30303042
"main": "graphic/apply/district",
30313043
"resources": [
3032-
"district.css"
3044+
"/img/div-graphic/divGraphic.css"
30333045
]
30343046
},
30353047
{
30363048
"name": "行政区突出展示2",
30373049
"thumbnail": "graphic-apply-district2.jpg",
30383050
"main": "graphic/apply/district2",
30393051
"resources": [
3040-
"district2.css"
3052+
"/img/div-graphic/divGraphic.css"
30413053
]
30423054
},
30433055
{
@@ -3061,7 +3073,7 @@
30613073
"main": "graphic/apply/digitalCity",
30623074
"previewListIn": true,
30633075
"resources": [
3064-
"city.css"
3076+
"/img/div-graphic/divGraphic.css"
30653077
]
30663078
}
30673079
]
@@ -3076,7 +3088,7 @@
30763088
"main": "graphic/apply/steps",
30773089
"hasPannel": true,
30783090
"resources": [
3079-
"/temp/css/divGraphic.css"
3091+
"/img/div-graphic/divGraphic.css"
30803092
]
30813093
},
30823094
{
@@ -3148,7 +3160,7 @@
31483160
"mars3d-heatmap"
31493161
],
31503162
"resources": [
3151-
"/temp/css/divGraphic.css"
3163+
"/img/div-graphic/divGraphic.css"
31523164
]
31533165
}
31543166
]
@@ -3271,7 +3283,7 @@
32713283
"api": "Popup.html",
32723284
"hasPannel": true,
32733285
"resources": [
3274-
"/temp/css/divGraphic.css"
3286+
"/img/div-graphic/divGraphic.css"
32753287
]
32763288
},
32773289
{
@@ -3281,7 +3293,7 @@
32813293
"api": "Tooltip.html",
32823294
"hasPannel": true,
32833295
"resources": [
3284-
"/temp/css/divGraphic.css"
3296+
"/img/div-graphic/divGraphic.css"
32853297
]
32863298
},
32873299
{
@@ -3418,7 +3430,7 @@
34183430
"hasPannel": true
34193431
},
34203432
{
3421-
"name": "ClockAnimate 时钟控制栏 差值模式",
3433+
"name": "时钟控制栏 秒数值显示模式",
34223434
"thumbnail": "control-basis-clockAnimate-duration.jpg",
34233435
"main": "control/basis/clockAnimate-duration",
34243436
"api": "ClockAnimate.html",
@@ -3484,6 +3496,13 @@
34843496
"main": "control/basis/mapSplit",
34853497
"api": "MapSplit.html",
34863498
"hasPannel": true
3499+
},
3500+
{
3501+
"name": "字幕",
3502+
"thumbnail": "control-basis-subtitles.jpg",
3503+
"main": "control/basis/subtitles",
3504+
"api": "Subtitles.html",
3505+
"hasPannel": true
34873506
}
34883507
]
34893508
},
@@ -3629,7 +3648,7 @@
36293648
"api": "Measure.html",
36303649
"hasPannel": true,
36313650
"resources": [
3632-
"/temp/css/divGraphic.css"
3651+
"/img/div-graphic/divGraphic.css"
36333652
]
36343653
},
36353654
{

public/config/layer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "image",
3-
"url": "//data.mars3d.cn//file/img/radar/201906211112.PNG",
3+
"url": "//data.mars3d.cn/img/map/radar/201906211112.PNG",
44
"rectangle": { "xmin": 73.16895, "xmax": 134.86816, "ymin": 12.2023, "ymax": 54.11485 },
55
"alpha": 0.7
66
}
32.3 KB
-6.24 KB
Binary file not shown.

public/img/basemaps/TerrainSTK.png

-11.1 KB
Binary file not shown.

public/img/basemaps/arcgis.png

-9.88 KB
Binary file not shown.

public/img/basemaps/bd-c-bluish.png

-11.7 KB
Binary file not shown.

public/img/basemaps/bd-c-dark.png

-9.92 KB
Binary file not shown.
-11.7 KB
Binary file not shown.
-11.3 KB
Binary file not shown.
-11.7 KB
Binary file not shown.
-6.27 KB
Binary file not shown.

public/img/basemaps/bd-c-hardedge.png

-11.8 KB
Binary file not shown.

public/img/basemaps/bd-c-light.png

-11 KB
Binary file not shown.

public/img/basemaps/bd-c-midnight.png

-11.5 KB
Binary file not shown.

public/img/basemaps/bd-c-pink.png

-11.4 KB
Binary file not shown.

public/img/basemaps/bd-c-redalert.png

-11.9 KB
Binary file not shown.

public/img/basemaps/bd-img.png

-13.1 KB
Binary file not shown.

public/img/basemaps/bd-vec.png

-7.92 KB
Binary file not shown.

public/img/basemaps/bingAerial.png

-12.4 KB
Binary file not shown.
-12.9 KB
Binary file not shown.

public/img/basemaps/bingRoads.png

-10.6 KB
Binary file not shown.

public/img/basemaps/bingimage.png

-11.5 KB
Binary file not shown.

public/img/basemaps/bingmap.png

-6.57 KB
Binary file not shown.

public/img/basemaps/blackMarble.png

-6.34 KB
Binary file not shown.
-12.7 KB
Binary file not shown.
-12.5 KB
Binary file not shown.
-9.22 KB
Binary file not shown.

public/img/basemaps/gaode_img.png

-9.03 KB
Binary file not shown.

public/img/basemaps/gaode_vec.png

-8.39 KB
Binary file not shown.

public/img/basemaps/google_img.png

-9.41 KB
Binary file not shown.

public/img/basemaps/google_ter.png

-9.82 KB
Binary file not shown.

public/img/basemaps/google_vec.png

-8.25 KB
Binary file not shown.
-12.7 KB
Binary file not shown.
-11.4 KB
Binary file not shown.

public/img/basemaps/mapboxStreets.png

-9.42 KB
Binary file not shown.

public/img/basemaps/mapboxTerrain.png

-10.7 KB
Binary file not shown.
-9.05 KB
Binary file not shown.

public/img/basemaps/null.png

-233 Bytes
Binary file not shown.

public/img/basemaps/offline.png

-11 KB
Binary file not shown.

public/img/basemaps/osm.png

-3.04 KB
Binary file not shown.

public/img/basemaps/sea.png

-10.6 KB
Binary file not shown.

public/img/basemaps/stamenToner.png

-5.32 KB
Binary file not shown.
-11.7 KB
Binary file not shown.

public/img/basemaps/tdt_img.png

-12.5 KB
Binary file not shown.

public/img/basemaps/tdt_ter.png

-9.01 KB
Binary file not shown.

public/img/basemaps/tdt_vec.png

-8.73 KB
Binary file not shown.

public/img/basemaps/tencent_img.png

-1.95 MB
Binary file not shown.

public/img/basemaps/tencent_vec.png

-1.58 MB
Binary file not shown.

public/img/btnBar/button.png

-8.44 KB
Binary file not shown.

public/img/btnBar/button_select.png

-8.58 KB
Binary file not shown.

public/img/btnBar/infoBox.png

-23 KB
Binary file not shown.

public/img/btnBar/left.png

-1.7 KB
Binary file not shown.

public/img/btnBar/right.png

-1.74 KB
Binary file not shown.

public/img/country/dg.png

-1.36 KB
Binary file not shown.

public/img/country/els.png

-1.36 KB
Binary file not shown.

public/img/country/hl.png

-1.43 KB
Binary file not shown.

public/img/country/hskst.png

-3.37 KB
Binary file not shown.

public/img/country/jejsst.png

-2.97 KB
Binary file not shown.

public/img/country/kny.png

-2.66 KB
Binary file not shown.

public/img/country/mlxy.png

-3.07 KB
Binary file not shown.

public/img/country/sllk.png

-2.53 KB
Binary file not shown.

public/img/country/teq.png

-2.35 KB
Binary file not shown.

public/img/country/tjkst.png

-1.99 KB
Binary file not shown.

public/img/country/wzbkst.png

-2.35 KB
Binary file not shown.

public/img/country/xl.png

-2.3 KB
Binary file not shown.

public/img/country/yd.png

-1.93 KB
Binary file not shown.

public/img/country/ydl.png

-1.48 KB
Binary file not shown.

public/img/country/ydnxy.png

-2.89 KB
Binary file not shown.

public/img/country/yl.png

-2.63 KB
Binary file not shown.

public/img/country/yn.png

-2.27 KB
Binary file not shown.

public/img/country/zg.png

-2.65 KB
Binary file not shown.

public/temp/css/divGraphic.css renamed to public/img/div-graphic/divGraphic.css

Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
position: absolute;
2525
bottom: -39px;
2626
left: -22px;
27-
background: url("../../img/icon/popupLbl.png") 0px 0px no-repeat;
27+
background: url("./blackPanel-bg.png") 0px 0px no-repeat;
2828
background-position: 0px 0px;
2929
}
3030

@@ -86,7 +86,7 @@
8686

8787
/**************** 蓝色科技感文本面板 ****************/
8888
.mars-spot {
89-
background-image: url("../../img/icon/lbl-circle.png");
89+
background-image: url("./lbl-circle.png");
9090
position: absolute;
9191
background-repeat: no-repeat;
9292
user-select: none;
@@ -100,11 +100,11 @@
100100
}
101101

102102
.mars-spot:hover {
103-
background-image: url("../../img/icon/lbl-circle2.png");
103+
background-image: url("./lbl-circle2.png");
104104
}
105105

106106
.mars-spot:hover .mars-spot-board{
107-
background-image: url("../../img/icon/lbl-extent2.png");
107+
background-image: url("./lbl-extent2.png");
108108
}
109109

110110
.mars-spot:hover .mars-spot-line{
@@ -120,7 +120,7 @@
120120
}
121121

122122
.mars-spot-board {
123-
background-image: url("../../img/icon/lbl-extent.png");
123+
background-image: url("./lbl-extent.png");
124124
top: -165px;
125125
transform: translateX(-30%);
126126
width: 180px;
@@ -134,7 +134,7 @@
134134
}
135135

136136
.mars-spot-board:hover {
137-
background-image: url("../../img/icon/lbl-extent2.png");
137+
background-image: url("./lbl-extent2.png");
138138

139139
}
140140

@@ -240,7 +240,7 @@
240240
background: rgba(42, 42, 42, 0.8);
241241
border-radius: 4px;
242242

243-
background: url("../../img/icon/div1.png");
243+
background: url("./marsImgPanel1.png");
244244
background-size: 100%;
245245
-webkit-background-size: cover;
246246
-moz-background-size: cover;
@@ -275,7 +275,7 @@
275275
height: 157px;
276276
background: rgba(42, 42, 42, 0.8);
277277
border-radius: 4px;
278-
background: url("../../img/icon/div2.png");
278+
background: url("./marsImgPanel2.png");
279279
background-size: 100%;
280280
-webkit-background-size: cover;
281281
-moz-background-size: cover;
@@ -669,7 +669,7 @@
669669
position: absolute;
670670
bottom: -39px;
671671
left: -22px;
672-
background: url("../../img/icon/popupLbl.png") 0px 0px no-repeat;
672+
background: url("./blackPanel-bg.png") 0px 0px no-repeat;
673673
background-position: 0px 0px;
674674
}
675675

@@ -684,3 +684,46 @@
684684
font-size: 12px;
685685
padding:3px
686686
}
687+
688+
689+
/**************** 视频上下抖动点+下竖线 ****************/
690+
.mars3d-divCameraPoint-content {
691+
/* 防止下面的line一直随img动画 */
692+
height: 30px;
693+
}
694+
.mars3d-divCameraPoint-img {
695+
width: 30px;
696+
height: 30px;
697+
animation: cameraMove 1s linear infinite alternate;
698+
-webkit-animation: cameraMove 1s linear infinite alternate;
699+
}
700+
@keyframes cameraMove {
701+
from {
702+
margin-top: 20px;
703+
}
704+
to {
705+
margin-top: 0px;
706+
}
707+
}
708+
@-webkit-keyframes cameraMove {
709+
from {
710+
margin-top: 20px;
711+
}
712+
to {
713+
margin-top: 0px;
714+
}
715+
}
716+
.mars3d-divCameraPoint-line {
717+
height: 120px;
718+
width: 5px;
719+
margin-top: 20px;
720+
border-left: 3px dashed #5b8fee;
721+
margin-left: calc(50% - 1px);
722+
}
723+
.mars3d-divCameraPoint-point {
724+
border-radius: 50%;
725+
width: 8px;
726+
height: 8px;
727+
margin-left: calc(50% - 3px);
728+
background-color: #5b8fee;
729+
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)