Skip to content

Commit 83ed66d

Browse files
committed
【update】轨迹图层例子更新 OBJLoader2 libs 文件; review by luox
1 parent d6096f3 commit 83ed66d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/mapboxgl/include-mapboxgl.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@
141141
inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/LoaderWorkerSupport.js');
142142
}
143143
if (inArray(includes, 'OBJLoader2')) {
144-
inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/OBJLoader2.js');
144+
inputScript('https://iclient.supermap.io/web/libs/three/0.129.0/build/three.min.js');
145+
inputScript('https://iclient.supermap.io/web/libs/three-wtm/1.0.0/three-wtm.js');
146+
inputScript('https://iclient.supermap.io/web/libs/wwobjloader2/4.0.0/wwobjloader2.js');
145147
}
146148
if (inArray(includes, 'MTLLoader')) {
147149
inputScript('https://iclient.supermap.io/web/libs/three/0.121.1/examples/js/loaders/MTLLoader.js');

examples/component/components_timeline_tracklayer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<title data-i18n="resources.title_componentsTimeLineTracklayer_Vue"></title>
99
<script type="text/javascript" include="vue,jquery,papaparse" src="../js/include-web.js"></script>
1010
<script
11-
include="lodash,moment,three92,LoaderSupport,OBJLoader2,echarts-vue,iclient-mapboxgl-vue,mapbox-gl-enhance"
11+
include="lodash,moment,OBJLoader2,echarts-vue,iclient-mapboxgl-vue,mapbox-gl-enhance"
1212
src="../../dist/mapboxgl/include-mapboxgl.js"
1313
></script>
1414
<style>

0 commit comments

Comments
 (0)