Toggle navigation
迁移
By
y***5
2018-07-24 14:25:51
脚本
16
21
作品使用的第三方脚本
http://api.map.baidu.com/api?v=2.0&ak=c9VzBGjpGifxq4HPKdyXHWxErdqpcI74,http://gallery.echartsjs.com/dep/echarts/latest/extension/bmap.min.js
数据管理
上传数据
支持小于 5M 任意格式(csv, xlsx, json, xml, ...)的数据文件
上传后可以通过生成的文件链接异步获取托管的数据。
历史数据
0 条
无历史数据
代码修改记录
信息提示
保存作品
对当前截图不满意?你还可以
上传本地截图
重新截图
作品名称
作品描述
标签
geo
grid
legend
markLine
markPoint
bar
effectScatter
line
lines
map
timeline
title
toolbox
tooltip
visualMap
作品默认版本
最新
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
20:11:45
图表已生成
整理代码
刷新
代码
qxx = [ [ [113.208763, 23.314407], [113.273729, 23.13826], 28896 ], [ [113.288102, 23.309097], [113.273729, 23.13826], 35997 ], [ [113.389287, 23.280418], [113.273729, 23.13826], 26056 ], [ [113.498521, 23.197533], [113.273729, 23.13826], 29960 ], [ [113.511169, 23.131614], [113.273729, 23.13826], 33798 ], [ [113.450228, 23.018837], [113.273729, 23.13826], 28373 ], [ [113.396186, 22.996483], [113.273729, 23.13826], 42319 ], [ [113.295001, 22.970931], [113.273729, 23.13826], 29085 ], [ [113.23176, 22.987966], [113.273729, 23.13826], 31887 ], [ [113.083432, 23.057149], [113.273729, 23.13826], 36072 ], [ [113.02939, 23.21454], [113.273729, 23.13826], 35121 ], ]; qxx_p = [ [113.208763, 23.314407, 30], [113.288102, 23.309097, 30], [113.389287, 23.280418, 20], [113.498521, 23.197533, 30], [113.511169, 23.131614, 30], [113.450228, 23.018837, 20], [113.396186, 22.996483, 40], [113.295001, 22.970931, 30], [113.23176, 22.987966, 30], [113.083432, 23.057149, 30], [113.02939, 23.21454, 30], [113.273729, 23.13826, 80] ]; option = { bmap: { center: [113.273729, 23.13826], zoom: 14, roam: true, mapStyle: { styleJson: [{ "featureType": "district", "elementType": "all", "stylers": { "visibility": "off" } }, { 'featureType': 'water', 'elementType': 'all', 'stylers': { 'color': '#d1d1d1' } }, { 'featureType': 'land', 'elementType': 'all', 'stylers': { 'color': '#f3f3f3' } }, { 'featureType': 'railway', 'elementType': 'all', 'stylers': { 'visibility': 'off' } }, { 'featureType': 'highway', 'elementType': 'all', 'stylers': { 'color': '#fdfdfd' } }, { 'featureType': 'highway', 'elementType': 'labels', 'stylers': { 'visibility': 'off' } }, { 'featureType': 'arterial', 'elementType': 'geometry', 'stylers': { 'color': '#fefefe' } }, { 'featureType': 'arterial', 'elementType': 'geometry.fill', 'stylers': { 'color': '#fefefe' } }, { 'featureType': 'poi', 'elementType': 'all', 'stylers': { 'visibility': 'off' } }, { 'featureType': 'green', 'elementType': 'all', 'stylers': { 'visibility': 'off' } }, { 'featureType': 'subway', 'elementType': 'all', 'stylers': { 'visibility': 'off' } }, { 'featureType': 'manmade', 'elementType': 'all', 'stylers': { 'color': '#d1d1d1' } }, { 'featureType': 'local', 'elementType': 'all', 'stylers': { 'color': '#d1d1d1' } }, { 'featureType': 'arterial', 'elementType': 'labels', 'stylers': { 'visibility': 'off' } }, { 'featureType': 'boundary', 'elementType': 'all', 'stylers': { 'color': '#fefefe' } }, { 'featureType': 'building', 'elementType': 'all', 'stylers': { 'color': '#d1d1d1' } }, { 'featureType': 'label', 'elementType': 'labels.text.fill', 'stylers': { 'color': '#999999' } } ] }, }, series: [{ name: 'test', type: 'lines', coordinateSystem: 'bmap', geoIndex: 0, data: qxx, lineStyle: { normal: { // color: '#c23531', // color: 'rgb(200, 35, 45)', opacity: 0.5, width: 3, curveness: -0.2 } }, progressiveThreshold: 500, progressive: 200 }, { name: 'test', type: 'lines', coordinateSystem: 'bmap', geoIndex: 0, data: qxx, lineStyle: { normal: { width: 0, curveness: -0.2 } }, effect: { constantSpeed: 100, show: true, trailLength: 0.1, symbolSize: 6 }, zlevel: 2 }, { name: 'test1', type: 'effectScatter', coordinateSystem: 'bmap', geoIndex: 0, data: qxx_p, showEffectOn: 'render', rippleEffect: { brushType: 'stroke' }, hoverAnimation: true, itemStyle: { normal: { color: 'purple', shadowBlur: 10, shadowColor: '#333' } }, symbolSize: function (val) { return val[2] / 2; }, } ], };