可视化大屏 项目中经常需要渲染echarts地图,为了不同城市快速实现,将不同城市的echarts地图效果整理出来,今天为大家整理白银市会宁县echarts地图和threejs地图效果实例。地图基于geoJson数据绘制。
会宁县,甘肃省 白银市 辖县,位于甘肃省中部,白银市南端,地理坐标介于北纬35°24′-36°26′、东经104°29′-105°31′之间,总面积6439平方千米; 地势由东南向西北倾斜,梁峁起伏、沟壑纵横;属中温带半干旱气候。截至2018年,会宁县下辖24个镇、4个乡。根据第七次人口普查数据,截至2020年11月1日零时,会宁县常住人口401581人。
echarts白银市会宁县geoJson地图 tooltip轮播
echarts地图实现类似tooltip轮播效果,通过effectScatter实现浮窗,并通过定时修改effectScatter的data来实现浮窗的移动.
echarts白银市会宁县geoJson地图根据经纬度显示自定义html弹窗
echarts地图我们可以通过像素坐标来将我们自定义的html弹窗定位到echarts地图指定位置,如果是固定的宽高的话,这没什么问题直接定位就可以了,如果是自适应宽高的地图我们可能没办法控制精度,我们可以使用经纬度来控制,当echarts地图渲染完成以后,我们可以通过convertToPixel将经纬度转为像素坐标,然后再渲染自定义弹窗,这样精度就比较准确了,而且也不会因为窗体宽高变化而导致弹窗出现偏移.
echarts白银市会宁县geoJson地图飞线图
echarts迁徙图实例,可以根据自己的需要配置飞线的颜色大小以及方向
threejs白银市会宁县geoJson地图3d地图自定义贴图加CSS2D标签
通过threejs绘制3d地图并添加CSS2D标签和自定义贴图,如果对threejs感兴趣,可以观看threejs教程视频 Three.js前端3D可视化
threejs白银市会宁县geoJson地图3d地图红色描边闪烁警报
通过threejs绘制3d地图使用outlinePass 实现发光描边闪烁效果 以实现警报功能
threejs白银市会宁县geoJson地图3d地图添加描边效果
通过threejs绘制3d地图使用outlinePass 实现发光描边效果
白银市会宁县 下辖有 新塬乡,新庄乡,河畔镇,草滩乡,丁家沟乡,侯家川乡,党家岘乡,八里湾乡,四房吴乡,土门岘乡,土高山乡,太平店镇,中川乡,会师镇,头寨子镇,平头川乡,杨崖集乡,柴家门乡,汉家岔乡,甘沟驿镇,白草塬乡,刘家寨子乡,大沟乡,翟家所乡,老君坡乡,郭城驿镇,韩家集乡,新添堡回族乡
白银市会宁县下辖区域坐标
{"新塬乡":[105.39535080741331,36.15157918038958],"新庄乡":[104.70377160828873,36.19666668370699],"河畔镇":[104.9614786689711,36.09927530074998],"草滩乡":[105.19183462395756,36.22996232124637],"丁家沟乡":[104.99642582016796,35.53385021491308],"侯家川乡":[105.2063110984721,35.52387479376482],"党家岘乡":[105.33758127070128,35.55591819115977],"八里湾乡":[105.19679332336482,35.80352509729494],"四房吴乡":[105.10877075903115,36.0410991468893],"土门岘乡":[105.23780094285925,36.14542878193401],"土高山乡":[105.16473889893811,36.33894925208681],"太平店镇":[105.37076136044642,35.68709110209863],"中川乡":[105.09269948736039,35.51683475755338],"会师镇":[105.06772525354558,35.66428390018321],"头寨子镇":[104.68664211839189,36.05117829501607],"平头川乡":[105.31982419057886,35.863305716298],"杨崖集乡":[105.43307929033429,35.60646018438906],"柴家门乡":[104.9976842516765,35.76788481778085],"汉家岔乡":[104.87845396570637,35.96325683396766],"甘沟驿镇":[104.98276120116742,35.92746425210603],"白草塬乡":[105.01986184060132,36.19581771687884],"刘家寨子乡":[105.34783651638473,36.26693464155537],"大沟乡":[105.26086936602961,35.99304512600027],"翟家所乡":[105.2433726669164,35.66787331200753],"老君坡乡":[105.37682968452272,35.76927015032035],"郭城驿镇":[104.94070684676845,36.25094576773968],"韩家集乡":[105.139746834492,35.88110524281853],"新添堡回族乡":[105.16622908928699,35.58145312279919]}
白银市会宁县行政划分代码
[{"name":"新塬乡","code":""},{"name":"新庄乡","code":""},{"name":"河畔镇","code":"620422102000"},{"name":"草滩乡","code":""},{"name":"丁家沟乡","code":""},{"name":"侯家川乡","code":""},{"name":"党家岘乡","code":"620422204000"},{"name":"八里湾乡","code":"620422213000"},{"name":"四房吴乡","code":""},{"name":"土门岘乡","code":""},{"name":"土高山乡","code":"620422225000"},{"name":"太平店镇","code":"620422104000"},{"name":"中川乡","code":""},{"name":"会师镇","code":"620422100000"},{"name":"头寨子镇","code":"620422103000"},{"name":"平头川乡","code":""},{"name":"杨崖集乡","code":""},{"name":"柴家门乡","code":""},{"name":"汉家岔乡","code":""},{"name":"甘沟驿镇","code":"620422105000"},{"name":"白草塬乡","code":""},{"name":"刘家寨子乡","code":""},{"name":"大沟乡","code":""},{"name":"翟家所乡","code":""},{"name":"老君坡乡","code":""},{"name":"郭城驿镇","code":"620422101000"},{"name":"韩家集乡","code":""},{"name":"新添堡回族乡","code":"620422202000"}]
说明
1、根据《地图审核管理规定》、《互联网地图服务专业标准》等法规,本地图不作为境界线勘界等用处。使用中请查阅《中华人民共和国地图编制出版管理条例》、各地地图编制出版管理办法等地图规定按程序应用。
2、本数据是目前市面上较齐全、精度较高的数据,属性齐全,各大高校科研均在用此数据。
3、本数据仅用于echarts threejs地图效果展示。