Skip to content

Commit 472dcaf

Browse files
committed
【update】 优化 openlayers include-ol.js review by songym
1 parent e3a7a9e commit 472dcaf

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

dist/ol/include-ol.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@
107107
}
108108

109109
// dist
110-
if (!inArray(excludes, 'iclient-openlayers')) {
110+
if (!inArray(excludes, 'iclient-ol')) {
111111
if (supportES6()) {
112-
inputScript("../../dist/openlayers/iclient-openlayers-es6.min.js");
112+
inputScript("../../dist/ol/iclient-ol-es6.min.js");
113113
} else {
114-
inputScript("../../dist/openlayers/iclient-openlayers.min.js");
114+
inputScript("../../dist/ol/iclient-ol.min.js");
115115
}
116116
}
117-
if (!inArray(excludes, 'iclient-openlayers-css')) {
118-
inputCSS("../../dist/openlayers/iclient-openlayers.min.css");
117+
if (!inArray(excludes, 'iclient-ol-css')) {
118+
inputCSS("../../dist/ol/iclient-ol.min.css");
119119
}
120120
}
121121

examples/openlayers/changeTileVersion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta charset="UTF-8">
88
<title data-i18n="resources.title_changeTileVersion"></title>
99
<script type="text/javascript" src="../js/include-web.js"></script>
10-
<script type="text/javascript" include="iclient-openlayers-css" src="../../dist/ol/include-ol.js"></script>
10+
<script type="text/javascript" include="iclient-ol-css" src="../../dist/ol/include-ol.js"></script>
1111
</head>
1212
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
1313
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>

examples/openlayers/mvtvectorlayer_mbstyle_beijing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@
117117
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.1.1/css/ol.css">
118118
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.1.1/build/ol.js"></script>
119119
<script type="text/javascript" src="https://iclient.supermap.io/web/libs/openlayers/plugins/ol-mapbox-style/2.11.2/olms.js"></script>
120-
<script type="text/javascript" src="../../dist/openlayers/iclient-openlayers-es6.min.js"></script>
121-
<link rel="stylesheet" href="../../dist/openlayers/iclient-openlayers.min.css">
120+
<script type="text/javascript" src="../../dist/ol/iclient-ol-es6.min.js"></script>
121+
<link rel="stylesheet" href="../../dist/ol/iclient-ol.min.css">
122122
<script type="text/javascript">
123123
var url = (window.isLocal ? window.server : "https://iserver.supermap.io") +
124124
"/iserver/services/map-beijing/rest/maps/beijingMap";

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