Skip to content

Commit d51d482

Browse files
committed
2 parents c80a5d1 + e0eb47c commit d51d482

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

build/server.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ if (product) {
3232
});
3333
app.use(instance);
3434
instance.waitUntilValid(() => {
35-
open(`http://localhost:9999/examples/${product}`);
35+
open(`http://localhost:8082/examples/${product}`);
3636
});
3737
}
3838

39-
const server = app.listen(9999, () => {
39+
const server = app.listen(8082, () => {
4040
const host = server.address().address;
4141
const port = server.address().port;
4242
console.log('Example app listening at http://%s:%s', host, port);
@@ -58,5 +58,5 @@ app.use("/en/dist", express.static('dist'), serveIndex('dist'));
5858
app.use("/en/build", express.static('build'), serveIndex('build'));
5959
app.use("/en", express.static('web/en'), serveIndex('web/en'));
6060
if (!product) {
61-
open(`http://localhost:9999`);
61+
open(`http://localhost:8082`);
6262
}

dist/mapboxgl/include-mapboxgl.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@
5050
var includes = (targetScript.getAttribute('include') || "").split(",");
5151
var excludes = (targetScript.getAttribute('exclude') || "").split(",");
5252
if (!inArray(includes, 'mapbox-gl-enhance') && !inArray(excludes, 'mapbox-gl')) {
53-
inputCSS("http://iclient.supermap.io/web/libs/mapbox-gl-js/0.48.0/mapbox-gl.css");
54-
inputScript("http://iclient.supermap.io/web/libs/mapbox-gl-js/0.48.0/mapbox-gl.js");
53+
inputCSS("https://cdn.bootcss.com/mapbox-gl/1.2.0/mapbox-gl.css");
54+
inputScript("https://cdn.bootcss.com/mapbox-gl/1.2.0/mapbox-gl.js");
5555
}
5656
if (inArray(includes, 'mapbox-gl-enhance')) {
57-
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-enhance/mapbox-gl-enhance.js");
57+
inputCSS("http://iclient.supermap.io/web/libs/mapbox-gl-js-enhance/1.2.0/mapbox-gl-enhance.css");
58+
inputScript("http://iclient.supermap.io/web/libs/mapbox-gl-js-enhance/1.2.0/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");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"leaflet": "1.3.1",
123123
"lodash.remove": "^4.7.0",
124124
"lodash.topairs": "4.3.0",
125-
"mapbox-gl": "0.45.0",
125+
"mapbox-gl": "1.2.0",
126126
"mapv": "2.0.20",
127127
"openlayers": "4.6.5",
128128
"pbf": "3.0.2",

src/mapboxgl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"echarts": "4.1.0",
1818
"mapv": "2.0.20",
19-
"mapbox-gl": "0.45.0",
19+
"mapbox-gl": "1.2.0",
2020
"three": "0.92.0",
2121
"xlsx": "0.12.13",
2222
"@supermap/iclient-common": "10.0.0-beta",

0 commit comments

Comments
 (0)