可视化大屏 项目中经常需要渲染echarts地图,为了不同城市快速实现,将不同城市的echarts地图效果整理出来,今天为大家整理黄山市歙县echarts地图和threejs地图效果实例。地图基于geoJson数据绘制。
echarts黄山市歙县geoJson地图区域闪烁
echarts地图有时候为了突出某一块区域的重要性,会进行两个颜色的交替变化来告诉用户这一块需要重点关注,我们可以通过echarts的dispatchAction来实现我们想要的效果.
echarts黄山市歙县geoJson地图3d地图
使用的是echarts-gl结合echarts实现的3d地图效果实例
echarts黄山市歙县geoJson地图根据经纬度显示自定义html弹窗
echarts地图我们可以通过像素坐标来将我们自定义的html弹窗定位到echarts地图指定位置,如果是固定的宽高的话,这没什么问题直接定位就可以了,如果是自适应宽高的地图我们可能没办法控制精度,我们可以使用经纬度来控制,当echarts地图渲染完成以后,我们可以通过convertToPixel将经纬度转为像素坐标,然后再渲染自定义弹窗,这样精度就比较准确了,而且也不会因为窗体宽高变化而导致弹窗出现偏移.
threejs黄山市歙县geoJson地图3d地图添加旋转棱锥
通过threejs绘制3d地图并在指定经纬度上添加带波纹效果不停旋转的棱锥效果实例,如果对threejs感兴趣,可以观看threejs视频课程 WebGL前端3D可视化教程
threejs黄山市歙县geoJson地图3d地图自定义贴图加CSS2D标签
通过threejs绘制3d地图并添加CSS2D标签和自定义贴图
threejs黄山市歙县geoJson地图3d地图指定区域闪烁
通过threejs绘制3d地图并让指定区域闪烁
黄山市歙县 下辖有 桂林镇,森村乡,上丰乡,北岸镇,王村镇,富堨镇,小川乡,徽城镇,深渡镇,绍濂乡,许村镇,郑村镇,雄村乡,杞梓里镇,昌溪乡,狮石乡,三阳乡,坑口乡,岔口镇,武阳乡,溪头镇,璜田乡,石门乡,街口镇,金川乡,长陔乡,霞坑镇,新溪口乡,歙县经济开发区
黄山市歙县下辖区域坐标
{"桂林镇":[118.45252980993979,29.97781942807486],"森村乡":[118.50286490937833,29.74867305558228],"上丰乡":[118.35747252244047,30.0327352702873],"北岸镇":[118.56367278311706,29.91435242301818],"王村镇":[118.39500555384116,29.70569414922832],"富堨镇":[118.36964886592153,29.92998476831469],"小川乡":[118.63136641596373,29.77963139177087],"徽城镇":[118.46173988265699,29.86551433979521],"深渡镇":[118.59885848292738,29.862142372192],"绍濂乡":[118.46474417045363,29.67965986699347],"许村镇":[118.30507022278309,30.02181610164732],"郑村镇":[118.36531530510638,29.86290052001239],"雄村乡":[118.45081140052939,29.81038220183487],"杞梓里镇":[118.75883649007352,29.99706454169257],"昌溪乡":[118.65827642216304,29.90202222324507],"狮石乡":[118.45277411061917,29.55076021604593],"三阳乡":[118.82082681840974,30.04894502811102],"坑口乡":[118.51567278194636,29.80882389960379],"岔口镇":[118.76119224077323,29.88963371129437],"武阳乡":[118.66971435557286,29.85334226088222],"溪头镇":[118.44075772525846,30.02435367847741],"璜田乡":[118.63153645831966,29.70225314674395],"石门乡":[118.46695762857345,29.60699574374267],"街口镇":[118.67903212442693,29.75382159814791],"金川乡":[118.84928671696068,29.97903112276744],"长陔乡":[118.54068084718843,29.66707365761556],"霞坑镇":[118.64565274882814,29.97354222409358],"新溪口乡":[118.71630727223419,29.79382776729603],"歙县经济开发区":[118.44567005434554,29.89703164472516]}
黄山市歙县行政划分代码
[{"name":"桂林镇","code":"341021105000"},{"name":"森村乡","code":"341021211000"},{"name":"上丰乡","code":"341021202000"},{"name":"北岸镇","code":"341021102000"},{"name":"王村镇","code":"341021112000"},{"name":"富堨镇","code":"341021103000"},{"name":"小川乡","code":"341021207000"},{"name":"徽城镇","code":"341021100000"},{"name":"深渡镇","code":"341021101000"},{"name":"绍濂乡","code":"341021212000"},{"name":"许村镇","code":"341021106000"},{"name":"郑村镇","code":"341021104000"},{"name":"雄村乡","code":""},{"name":"杞梓里镇","code":"341021108000"},{"name":"昌溪乡","code":"341021203000"},{"name":"狮石乡","code":"341021214000"},{"name":"三阳乡","code":""},{"name":"坑口乡","code":"341021200000"},{"name":"岔口镇","code":"341021110000"},{"name":"武阳乡","code":"341021204000"},{"name":"溪头镇","code":"341021107000"},{"name":"璜田乡","code":"341021209000"},{"name":"石门乡","code":"341021213000"},{"name":"街口镇","code":"341021111000"},{"name":"金川乡","code":"341021206000"},{"name":"长陔乡","code":"341021210000"},{"name":"霞坑镇","code":"341021109000"},{"name":"新溪口乡","code":"341021208000"},{"name":"歙县经济开发区","code":"341021400000"}]
说明
1、根据《地图审核管理规定》、《互联网地图服务专业标准》等法规,本地图不作为境界线勘界等用处。使用中请查阅《中华人民共和国地图编制出版管理条例》、各地地图编制出版管理办法等地图规定按程序应用。
2、本数据是目前市面上较齐全、精度较高的数据,属性齐全,各大高校科研均在用此数据。
3、本数据仅用于echarts threejs地图效果展示。
4、当前除了包含有关键地区的geoJson地图信息外还包含有28个echarts地图效果,以及13个threejs地图实例效果,限于篇幅不一一展示,可以通过更多echarts和threejs地图效果实例查看