辽宁省市级地图js和json文件,精确到各市轮廓地图,样例使用北京市地图,建议用火狐打开,谷歌请参考跨域解决方案
2022-03-29 18:56:53 2.35MB echarts js json 地图
1
function getGzMap(_data) { if (_chinaMap == undefined) { var dom = document.getElementById("container"); _chinaMap = echarts.init(dom); _chinaMap.on('click', function(params) { console.log(params); var _type = params.seriesType; if (_type == "map") { //window.parent.aaa('aa') //调用父页面方法 } else if (_type == "effectScatter") { window.parent.showMap(); } }) } var option = { backgroundColor: 'rgba(0,0,0,0)', visualMap: { type: 'piecewise', show: false, min: 0, max: 300, splitNumber: 3, itemWidth: 10, itemHeight: 10, itemGap: 5, seriesIndex: [1], pieces: [ { min: 0, max: 100, label: '优' }, { min: 101, max: 200, label: '良' }, { min: 201, max: 300, label: '高风险' } ], //color: ['#FA4D08', '#4BD94F', '#FBD32B'], //红、绿、黄 color: ['#F8DAE6', '#FEF9B5', '#B0D8B3'], //红、黄、绿 textStyle: { color: '#9EA8B1', fontSize: 10 } }, tooltip: { formatter: '{b}' }, geo: { map: 'guangdong', roam: true, aspectScale: 1, zoom: 1.5, layoutCenter: ['55%', '40%'], layoutSize: 500, label: { normal: { show: true }, emphasis: { show: true } }, itemStyle: { normal: { areaColor: '#323c48', borderColor: '#111', borderColor: '#3BB4DF', shadowColor: '#25A3FC', shadowBlur: 10 }, emphasis: { areaColor: '#ddb926' } } }, series: [{ type: 'effectScatter', coordinateSystem: 'geo', data: unitData, symbolSize: 10, symbol: 'image://../../../../Content/images/One/fire.png', //symbolRotate: 35, rippleEffect: { period: 4, scale: 5, brushType: 'fill', }, label: { normal: { formatter: '{b}', position: 'right', show: false }, emphasis: { show: false } }, itemStyle: { normal: { color: '#fff' } } }, { name: '', type: 'map', geoIndex: 0, mapType: 'guangdong', // 自定义扩展图表类型 label: { normal: { show: true, } }, itemStyle: { normal: { label: { show: true, fontSize: 10, color: '#111' }, shadowColor: '#ddb926', shadowBlur: 5, }, emphasis: { label: { show: true }, shadowColor: 'rgba(0, 0, 0, 0.5)', shadowBlur: 10 } }, data: _data }, { type: 'effectScatter', coordinateSystem: 'geo', data: windData, symbolSize: 10, symbol: 'image://../../../../Content/images/One/wind.png', //symbolRotate: 35, rippleEffect: { period: 4, scale: 5, brushType: 'fill', }, label: { normal: { formatter: '{b}', position: 'right', show: false }, emphasis: { show: false } }, itemStyle: { normal: { color: '#fff' } } }, ] }; $.getJSON('../../MapCN/guangdong.json', function(chinaJson) { echarts.registerMap('guangdong', chinaJson); _chinaMap.setOption(option, true); }); }
2022-03-28 14:04:26 4.71MB Echarts地图 json文件
1
Jenkins整合dingding json pusher插件用到的json文件格式,用来发送自定义消息到钉钉群。
2022-03-27 22:42:27 63B dingding jso dingding.jso 自定义消息
1
直接放到echarts 里可以绘制贵州省地图,有需要画地图的小伙伴可以下载使用,亲测有效哦,当然主要是自己使用
2022-03-24 10:55:38 70KB 地图json文件
1
文件包含全国所有省份的Echarts地图文件 又json格式和js格式供选择 文件包含全国所有省份的Echarts地图文件 又json格式和js格式供选择
2022-03-23 11:12:46 2.85MB Echart json js
1
安徽省市级地图js和json文件,精确到各市轮廓地图,样例使用北京市地图,建议用火狐打开,谷歌请参考跨域解决方案
2022-03-22 10:54:03 1.63MB echarts 安徽 地图
1
包含两部分,一是python模拟的简单服务器,用于回应post和get请求;二是C++部分,利用libcurl库发送jsoncpp库写的json文件.内有readme,有问题请私信.
2022-03-20 16:29:44 1.19MB libcurl python 服务器 post
1
主要介绍了详解利用nodejs对本地json文件进行增删改查,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
2022-03-19 23:09:19 58KB nodejs json 增删改查 node
1
主要介绍了python 字典有序并写入json文件过程解析,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
2022-03-14 18:36:07 29KB python 字典 写入 json文件
1
echarts官方中国数据只支持中国到省的数据,这份数据是中国到大区,大区到省的数据。在中国和省两级关系之间加上了一个区域的概念。
2022-03-14 16:19:01 28KB echarts 地图
1