Skip to content

Commit 981e309

Browse files
committed
新增echarts示例,fix 服务地址。review by caoxinke.
1 parent 9eb9e65 commit 981e309

File tree

5 files changed

+161
-2
lines changed

5 files changed

+161
-2
lines changed

examples/mapboxgl/config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,12 @@ var exampleConfig = {
362362
name_en: "Changchun public transport network",
363363
thumbnail: "echarts_ChangchunPublicTransportNetwork.gif",
364364
fileName: "echarts_ChangchunPublicTransportNetwork"
365+
},
366+
{
367+
name: "格网图",
368+
name_en: "cell map",
369+
thumbnail: "echarts_cellMap.png",
370+
fileName: "echarts_cellMap"
365371
}
366372
]
367373
},

examples/mapboxgl/echartsGL_colorfulCity.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
1010
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>
1111
<script>
12-
var host = window.isLocal ? window.server : "http://117.122.248.69:8090";
12+
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
1313
var map, myChart,
1414
mapUrl = host + "/iserver/services/map-china400/rest/maps/ChinaDark/zxyTileImage.png?z={z}&x={x}&y={y}",
1515
attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +

examples/mapboxgl/echartsGL_taxiTrajectoryMap.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
1010
<div id="map" style="margin:0 auto;width: 100%;height: 100%"></div>
1111
<script>
12-
var host = window.isLocal ? window.server : "http://117.122.248.69:8090";
12+
var host = window.isLocal ? window.server : "http://support.supermap.com.cn:8090";
1313
var map, myChart,
1414
mapUrl = host + "/iserver/services/map-china400/rest/maps/ChinaDark/zxyTileImage.png?z={z}&x={x}&y={y}",
1515
attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +

examples/mapboxgl/echarts_cellMap.html

Lines changed: 153 additions & 0 deletions
Large diffs are not rendered by default.
29.8 KB
Loading

0 commit comments

Comments
 (0)