Skip to content

Commit 1b94e40

Browse files
committed
【fix】修改例子,更新token review by liqian
1 parent 0d1e215 commit 1b94e40

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

dist/leaflet/include-leaflet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
inputScript("https://cdnjs.cloudflare.com/ajax/libs/Turf.js/5.1.6/turf.min.js");
6060
}
6161
if (inArray(includes, 'echarts')) {
62-
inputScript("https://cdn.jsdelivr.net/npm/echarts@4.1.0/dist/echarts.js");
62+
inputScript("https://cdn.jsdelivr.net/npm/echarts@4.1.0/dist/echarts.min.js");
6363
}
6464
if (inArray(includes, 'd3')) {
6565
inputScript("http://iclient.supermap.io/web/libs/d3/5.5.0/d3.js");

dist/mapboxgl/include-mapboxgl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
inputScript("http://mapv.baidu.com/build/mapv.min.js");
7070
}
7171
if (inArray(includes, 'echarts')) {
72-
inputScript("https://cdn.jsdelivr.net/npm/echarts@4.1.0/dist/echarts.js");
72+
inputScript("https://cdn.jsdelivr.net/npm/echarts@4.1.0/dist/echarts.min.js");
7373
inputScript("http://iclient.supermap.io/libs/echartsLayer/EchartsLayer.js");
7474
inputScript("http://iclient.supermap.io/libs/echarts-liquidfill/echarts-liquidfill.js");
7575
}

dist/openlayers/include-openlayers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
inputCSS("../../dist/openlayers/iclient9-openlayers.min.css");
8282
}
8383
if (inArray(includes, 'echarts')) {
84-
inputScript("https://cdn.jsdelivr.net/npm/echarts@4.1.0/dist/echarts.js");
84+
inputScript("https://cdn.jsdelivr.net/npm/echarts@4.1.0/dist/echarts.min.js");
8585
}
8686
if (inArray(includes, 'ol3-echarts')) {
8787
inputScript("http://iclient.supermap.io/libs/openlayers/ol3-echarts/1.3.4/ol3Echarts.min.js");

examples/js/tokengenerator.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.

examples/leaflet/echartsEffectScatter.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,12 +481,13 @@
481481
normal: {
482482
formatter: '{b}',
483483
position: 'right',
484-
show: true
484+
show: true,
485+
color: '#ffa022'
485486
}
486487
},
487488
itemStyle: {
488489
normal: {
489-
color: '#f4e925',
490+
color: '#ffa022',
490491
shadowBlur: 10,
491492
shadowColor: '#333'
492493
}

examples/mapboxgl/components_dataflow_vue.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<sm-data-flow-layer
2727
:service-url="dataFlowUrl"
2828
:layer-style="layerStyle"
29-
register-token="0ra2250-rPu6ZnqHPKqcqDjGkDGDv3bg5HHy1SNNXf79OlN0ArG07bq3cGFz0v-nfBm2RAnYJ3LGBsuiptH43g.."
3029
></sm-data-flow-layer>
3130
</sm-web-map>
3231
</div>
@@ -39,7 +38,7 @@
3938
" Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> ";
4039
SuperMap.SecurityManager.registerToken(
4140
"ws://iclsvrws.supermap.io/iserver/services/dataflowTest/dataflow",
42-
"0ra2250-rPu6ZnqHPKqcqDjGkDGDv3bg5HHy1SNNXf79OlN0ArG07bq3cGFz0v-nfBm2RAnYJ3LGBsuiptH43g.."
41+
window.exampleToken
4342
);
4443
// 模拟 dataflow 实时数据
4544
var featureResult, dataFlowBroadcast, timer;

examples/openlayers/02_editFeatures.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ <h5 class='panel-title text-center' data-i18n="resources.text_editSingle"></h5><
331331
vectorSource.clear();
332332
isclearPoint = false;
333333
closeSelectListener();
334-
widgets.alert.showAlert("resources.text_deleteSuccess", true);
334+
widgets.alert.showAlert(resources.text_deleteSuccess, true);
335335
} else {
336-
widgets.alert.showAlert("resources.msg_deleteFailed", false)
336+
widgets.alert.showAlert(resources.msg_deleteFailed, false)
337337
}
338338
});
339339
}

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