Skip to content

Commit 8995584

Browse files
committed
【update】 ol 回退到 v6.6.1; review by luox
1 parent c5045c8 commit 8995584

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

dist/ol/include-ol.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
var excludes = (targetScript.getAttribute('exclude') || '').split(',');
5555
// 在线
5656
if (!inArray(excludes, 'ol') && !inArray(includes, 'ol-debug') && !inArray(includes, 'ol@4.6.5')) {
57-
inputCSS('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.7.0/css/ol.css');
58-
inputScript('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.7.0/build/ol.js');
57+
inputCSS('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.6.1/css/ol.css');
58+
inputScript('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.6.1/build/ol.js');
5959
}
6060
if (inArray(includes, 'ol@4.6.5')) {
6161
inputCSS('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol.css');

dist/openlayers/include-openlayers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
var excludes = (targetScript.getAttribute('exclude') || '').split(',');
5555
// 在线
5656
if (!inArray(excludes, 'ol') && !inArray(includes, 'ol-debug') && !inArray(includes, 'ol@4.6.5')) {
57-
inputCSS('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.7.0/css/ol.css');
58-
inputScript('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.7.0/build/ol.js');
57+
inputCSS('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.6.1/css/ol.css');
58+
inputScript('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.6.1/build/ol.js');
5959
}
6060
if (inArray(includes, 'ol@4.6.5')) {
6161
inputCSS('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol.css');

libs/openlayers/ol.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"lodash.topairs": "4.3.0",
128128
"mapbox-gl": "1.13.1",
129129
"mapv": "2.0.62",
130-
"ol": "6.7.0",
130+
"ol": "6.6.1",
131131
"pbf": "3.2.1",
132132
"proj4": "2.7.5",
133133
"promise-polyfill": "8.2.0",

src/openlayers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@turf/turf": "6.5.0",
1818
"echarts": "4.9.0",
1919
"mapv": "2.0.62",
20-
"ol": "6.7.0",
20+
"ol": "6.6.1",
2121
"@supermap/iclient-common": "10.2.0",
2222
"proj4": "2.7.5",
2323
"xlsx": "0.17.2",

0 commit comments

Comments
 (0)