Skip to content

Commit 440c44f

Browse files
committed
fix MVTvevtorLayer4326 引用。review by caoxinke.
1 parent 70e760d commit 440c44f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/include-openlayers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
var excludes = (targetScript.getAttribute('exclude') || "").split(",");
3838
if (!inArray(excludes, 'ol')) {
3939
inputCSS("http://openlayers.org/en/latest/css/ol.css");
40-
inputScript("http://openlayers.org/en/latest/build/ol-debug.js");
40+
inputScript("http://openlayers.org/en/latest/build/ol.js");
4141
}
4242
if (inArray(includes, 'mapv')) {
4343
inputScript("http://mapv.baidu.com/build/mapv.min.js");

examples/openlayers/mvtVectorLayer4326.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
<head>
44
<meta charset="UTF-8">
55
<title>iServer MVT矢量瓦片(4326坐标系)</title>
6-
<script type="text/javascript" src="../../dist/include-openlayers.js"></script>
6+
<script type="text/javascript" src="http://openlayers.org/en/latest/css/ol.css"></script>
7+
<script type="text/javascript" src="http://openlayers.org/en/latest/build/ol-debug.js"></script>
8+
<script type="text/javascript" src="../../dist/iclient9-openlayers.js"></script>
79
</head>
810
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%">
911
<div id="map" style="margin:0 auto;width: 100%;height: 100%;border: 1px solid #dddddd"></div>

0 commit comments

Comments
 (0)