摘要: 1. 下载bigemap(我使用的是离线版),该软件可以选择到县级以及更下面的地方,然后导出kml文件。 2. 到geojson.io这个网址,依次将你的kml文件拖到里面(直接拖进去就可以)。 3. 点击下图导出即可,然后你将里面的数据保存到一个json文件就可以使用了。 echarts.regi 阅读全文
posted @ 2020-12-09 15:58 玛卡巴鉲 阅读(781) 评论(0) 推荐(0) 编辑
摘要: export const dfOption = { tooltip: { formatter: function(params, ticket, callback) { return params.name + ":" + params.value; } // 数据格式化 }, visualMap: 阅读全文
posted @ 2020-12-09 15:49 玛卡巴鉲 阅读(1856) 评论(0) 推荐(0) 编辑
摘要: itemStyle: { color: new echarts.graphic.LinearGradient( 0, 0, 0, 1, [ { offset: 0, color: "#ffd077" }, { offset: 0.3, color: "#fcbe49" }, { offset: 0. 阅读全文
posted @ 2020-12-09 15:47 玛卡巴鉲 阅读(110) 评论(0) 推荐(0) 编辑
摘要: tooltip: { trigger: "item", formatter: "{b}: {c}%", position: function (point, params, dom, rect, size) { // 鼠标坐标和提示框位置的参考坐标系是:以外层div的左上角那一点为原点,x轴向右,y 阅读全文
posted @ 2020-12-09 15:45 玛卡巴鉲 阅读(1220) 评论(0) 推荐(0) 编辑