Skip to content

Commit 3a925b8

Browse files
committed
mbgl新增three图层(未添加示例&性能问题后续进行优化)
1 parent 71637f9 commit 3a925b8

File tree

16 files changed

+2065
-318
lines changed

16 files changed

+2065
-318
lines changed

build/deps.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,6 +1094,17 @@ deps = {
10941094
"des_en": "mapV layer"
10951095
}]
10961096
},
1097+
"Three": {
1098+
"name": "three",
1099+
"src": [
1100+
"./src/mapboxgl/overlay/ThreeLayer.js"
1101+
],
1102+
"modules": [{
1103+
"name": "mapboxgl.supermap.ThreeLayer",
1104+
"des": "ThreeJS 图层",
1105+
"des_en": "ThreeJS layer"
1106+
}]
1107+
},
10971108
"ThemeLayer": {
10981109
"name": "ThemeLayer",
10991110
"src": [

build/jsdocs/mapboxgl/categories.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/jsdocs/template/config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
},
8787
"Marker": {
8888
"name": "Marker"
89+
},
90+
"Three": {
91+
"name": "Three"
8992
}
9093
}
9194
},

build/jsdocs/template/static/styles/jaguar.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ li {
3434
height: 100%;
3535
padding-top: 0px;
3636
background-color: #3c8dbc;
37-
37+
3838
}
3939
.main-sidebar .applicationName {
4040
margin: 0;
@@ -358,7 +358,9 @@ li {
358358
margin-bottom: 5px;
359359
list-style-type: disc;
360360
}
361-
361+
.treeview > a{
362+
cursor: pointer;
363+
}
362364
a.sidebar-toggle {
363365
width: 100%;
364366
height: 36px;
@@ -379,7 +381,7 @@ a.sidebar-toggle {
379381
text-align: center;
380382
color: white !important;
381383
line-height: 36px;
382-
384+
383385
}
384386

385387
.sidebar-mini.sidebar-collapse .main-sidebar{

build/webpack.config.mapboxgl.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = {
2424
},
2525
externals: {
2626
'echarts': 'function(){try{return echarts}catch(e){return {}}}()',
27+
'three': 'function(){try{return THREE}catch(e){return {}}}()',
2728
'mapbox-gl': 'mapboxgl',
2829
'mapv': "function(){try{return mapv}catch(e){return {}}}()",
2930
'elasticsearch': 'function(){try{return elasticsearch}catch(e){return {}}}()'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy