Skip to content

Commit b5d3e34

Browse files
committed
[fix]修复ICL1338, echarts-gl兼容mapbox1.10.0 review by songym
1 parent ae8c54d commit b5d3e34

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dist/mapboxgl/include-mapboxgl.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved.
22
* This program are made available under the terms of the Apache License, Version 2.0
33
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
4-
(function() {
4+
(function () {
55
var r = new RegExp('(^|(.*?\\/))(include-mapboxgl.js)(\\?|$)'),
66
s = document.getElementsByTagName('script'),
77
targetScript;
@@ -153,7 +153,7 @@
153153
inputScript('https://cdn.jsdelivr.net/npm/three@0.121.1/examples/js/loaders/GLTFLoader.js');
154154
}
155155
if (inArray(includes, 'echarts-gl')) {
156-
inputScript('https://iclient.supermap.io/web/libs/echarts-gl/1.1.2/echarts-gl.min.js');
156+
inputScript('https://iclient.supermap.io/web/libs/echarts-gl/1.1.2-fix/echarts-gl.min.js');
157157
}
158158
if (inArray(includes, 'mapbox-print-pdf')) {
159159
inputScript('https://iclient.supermap.io/web/libs/mapbox-print-pdf/0.4.4/mapbox-print-pdf.min.js');
@@ -164,7 +164,6 @@
164164
if (inArray(includes, 'lodash')) {
165165
inputScript('https://cdn.jsdelivr.net/npm/lodash@4.17.20/lodash.min.js');
166166
}
167-
168167
// dist
169168
if (!inArray(excludes, 'iclient-mapboxgl')) {
170169
if (supportES6()) {

0 commit comments

Comments
 (0)