Skip to content

Commit 19334ab

Browse files
2 parents 31063db + 9b31de2 commit 19334ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+45
-45
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- iClient for MapboxGL新增支持WGS84、China2000、Xian80、Beijing54等标准地理坐标系,覆盖MVT矢量瓦片、栅格瓦片、可视化图层、标绘等功能
88

99
- 需单独引用iClient对Mapbox GL JS的增强库(基于2018年10月版本v0.51.0)
10-
http://iclient.supermap.io/web/libs/mapbox-gl-js/enhancement/mapbox-gl-enhance.js
10+
http://iclient.supermap.io/web/libs/mapbox-gl-js-enhance/mapbox-gl-enhance.js
1111

1212
### 新增多款功能微件
1313

@@ -38,7 +38,7 @@
3838
### for MapboxGL
3939

4040
- 支持WGS84、China2000、Xian80、Beijing54等标准地理坐标系,需单独引用iClient对MapboxGL的增强库:
41-
http://iclient.supermap.io/web/libs/mapbox-gl-js/enhancement/mapbox-gl-enhance.js
41+
http://iclient.supermap.io/web/libs/mapbox-gl-js-enhance/mapbox-gl-enhance.js
4242

4343
## Fixed
4444

dist/mapboxgl/include-mapboxgl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@
4949
function load() {
5050
var includes = (targetScript.getAttribute('include') || "").split(",");
5151
var excludes = (targetScript.getAttribute('exclude') || "").split(",");
52-
if (!inArray(excludes, 'mapbox-gl') && !inArray(includes, 'mapbox-gl-enhance')) {
52+
if (!inArray(includes, 'mapbox-gl-enhance') && !inArray(excludes, 'mapbox-gl')) {
5353
inputCSS("http://iclient.supermap.io/web/libs/mapbox-gl-js/0.48.0/mapbox-gl.css");
5454
inputScript("http://iclient.supermap.io/web/libs/mapbox-gl-js/0.48.0/mapbox-gl.js");
5555
}
5656
if (inArray(includes, 'mapbox-gl-enhance')) {
5757
inputCSS("http://iclient.supermap.io/web/libs/mapbox-gl-js/0.48.0/mapbox-gl.css");
58-
inputScript("http://iclient.supermap.io/web/libs/mapbox-gl-js/enhancement/mapbox-gl-enhance.js");
58+
inputScript("http://iclient.supermap.io/web/libs/mapbox-gl-js-enhance/mapbox-gl-enhance.js");
5959
}
6060
if (inArray(includes, 'draw')) {
6161
inputCSS("http://iclient.supermap.io/web/libs/mapbox-gl-js/plugins/mapbox-gl-draw/1.0.9/mapbox-gl-draw.css");

examples/classic/plot_addfile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_addfile"></h5></d
5858
<script>
5959
var map, local, layer, vectorLayer, control, queryBounds, markerLayer, drawFeature;
6060
var plottingLayer, plottingEdit, sitManager, ListFile, plotting;
61-
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
61+
var host = window.isLocal ? window.server : "http://iclsvr.supermap.io";
6262
var mapurl = host + "/iserver/services/map-china400/rest/maps/China_4326";
6363
var serverUrl = host + "/iserver/services/plot-jingyong/rest/plot/";
6464

examples/classic/plot_defaultStyle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_defaultStyle"></h
8989
<script type="text/javascript" exclude="iclient-classic" include="iclient8c-plot" src="../../dist/classic/include-classic.js"></script>
9090
<script>
9191
var map, baseLayer, plottingLayer, drawFeature, plotting, plottingEdit;
92-
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
92+
var host = window.isLocal ? window.server : "http://iclsvr.supermap.io";
9393
var mapurl = host + "/iserver/services/map-world/rest/maps/World";
9494
var serverUrl = host + "/iserver/services/plot-jingyong/rest/plot/";
9595
init();

examples/classic/plot_drawGeoGraphicObject.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_drawGeoGraphicObj
4949
<script>
5050
var map, layer, plottingEdit, lineLayer, plottingLayer,
5151
drawFeature;
52-
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
52+
var host = window.isLocal ? window.server : "http://iclsvr.supermap.io";
5353
var mapurl = host + "/iserver/services/map-world/rest/maps/World";
5454
var plotUrl = host + "/iserver/services/plot-jingyong/rest/plot/";
5555
init();

examples/classic/plot_drawGraphics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_drawGraphics"></h
205205
<script>
206206
var map, plottingLayer, layer, menu1, menu2, menu3;
207207
var stylePanel;
208-
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
208+
var host = window.isLocal ? window.server : "http://iclsvr.supermap.io";
209209
var mapurl = host + "/iserver/services/map-china400/rest/maps/China_4326";
210210
var serverUrl = host + "/iserver/services/plot-jingyong/rest/plot/";
211211
var plotting;

examples/classic/plot_drawRoute.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_drawRoute"></h5><
7878
<script>
7979
var map, plottingLayer, layer, menu1, menu2, menu3;
8080
var stylePanel;
81-
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
81+
var host = window.isLocal ? window.server : "http://iclsvr.supermap.io";
8282
var mapurl = host + "/iserver/services/map-world/rest/maps/World";
8383
var serverUrl = host + "/iserver/services/plot-jingyong/rest/plot/";
8484
var plotting;

examples/classic/plot_dynamicPlot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
<script>
199199
var map, plottingLayer, layer;
200200
var plotPanel, stylePanel;
201-
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
201+
var host = window.isLocal ? window.server : "http://iclsvr.supermap.io";
202202
var mapurl = host + "/iserver/services/map-china400/rest/maps/China_4326";
203203
var serverUrl = host + "/iserver/services/plot-jingyong/rest/plot/";
204204
var plotting;

examples/classic/plot_editPlottingLayer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_editPlottingLayer
7373
<script type="text/javascript" exclude="iclient-classic" include="iclient8c-plot" src="../../dist/classic/include-classic.js"></script>
7474
<script>
7575
var map, baseLayer, plottingLayer, plottingEdit, drawFeature;
76-
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
76+
var host = window.isLocal ? window.server : "http://iclsvr.supermap.io";
7777
var mapurl = host + "/iserver/services/map-world/rest/maps/World";
7878
var serverUrl = host + "/iserver/services/plot-jingyong/rest/plot/";
7979
init();

examples/classic/plot_filetransfer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_filetransfer"></h
9292
src="../../dist/classic/include-classic.js"></script>
9393
<script>
9494
var map, layer, drawFeature, treePanel, plottingLayer, plottingEdit, sitManager, plotting;
95-
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
95+
var host = window.isLocal ? window.server : "http://iclsvr.supermap.io";
9696
var mapurl = host + "/iserver/services/map-china400/rest/maps/China_4326";
9797
var serverUrl = host + "/iserver/services/plot-jingyong/rest/plot/";
9898
init();

0 commit comments

Comments
 (0)