echarts广元市朝天区geoJson地图根据经纬度显示自定义html弹窗实例

geoJson2 yekong

可视化大屏 项目中会有渲染地图的需要,除了百度地图以及高德地图外,也会需要echarts或者threejs效果的地图,今天为大家整理广元市朝天区echarts地图和threejs地图效果实例供大家参考。地图基于geoJson数据绘制。

echarts广元市朝天区geoJson地图根据经纬度显示自定义html弹窗

echarts地图我们可以通过像素坐标来将我们自定义的html弹窗定位到echarts地图指定位置,如果是固定的宽高的话,这没什么问题直接定位就可以了,如果是自适应宽高的地图我们可能没办法控制精度,我们可以使用经纬度来控制,当echarts地图渲染完成以后,我们可以通过convertToPixel将经纬度转为像素坐标,然后再渲染自定义弹窗,这样精度就比较准确了,而且也不会因为窗体宽高变化而导致弹窗出现偏移.

echarts广元市朝天区geoJson地图根据经纬度显示自定义html弹窗

echarts广元市朝天区geoJson地图热力图

echarts通过heatmap实现热力图效果

echarts广元市朝天区geoJson地图热力图

echarts广元市朝天区geoJson地图点击跳转到指定页面

为图标添加点击事件,点击图标,跳转到指定页面

echarts广元市朝天区geoJson地图点击跳转到指定页面

threejs广元市朝天区geoJson地图3d地图添加旋转棱锥

通过threejs绘制3d地图并在指定经纬度上添加带波纹效果不停旋转的棱锥效果实例,如果对threejs感兴趣,可以观看threejs课程视频 Three.js前端3D可视化

threejs广元市朝天区geoJson地图3d地图添加旋转棱锥

threejs广元市朝天区geoJson地图3d地图CSS2D外加旋转棱锥

通过threejs绘制3d地图CSS2D外加旋转棱锥效果

threejs广元市朝天区geoJson地图3d地图CSS2D外加旋转棱锥

threejs广元市朝天区geoJson地图3d地图自定义贴图加CSS3D标签

通过threejs绘制3d地图并添加CSS3D标签和自定义贴图

threejs广元市朝天区geoJson地图3d地图自定义贴图加CSS3D标签

广元市朝天区 下辖有 陈家乡,平溪乡,中子镇,临溪乡,大滩镇,宣河乡,小安乡,文安乡,曾家镇,朝天镇,蒲家乡,李家乡,柏杨乡,汪家乡,西北乡,沙河镇,羊木镇,花石乡,转斗乡,两河口乡,青林乡,马家坝乡,鱼洞乡,麻柳乡,东溪河乡

广元市朝天区下辖区域坐标

{"陈家乡":[105.82244050710644,32.71174067083089],"平溪乡":[106.07463877081945,32.66671276539756],"中子镇":[106.03055597815968,32.70074354771351],"临溪乡":[106.02319398154336,32.57839570632203],"大滩镇":[105.91294340477772,32.78387018993341],"宣河乡":[105.96789633333908,32.68747635533528],"小安乡":[105.98728621391251,32.62735044959487],"文安乡":[105.94431621153326,32.75636135491634],"曾家镇":[106.0999193534521,32.59321483643639],"朝天镇":[105.87675454743723,32.65504227496383],"蒲家乡":[105.80608038317366,32.54900016367863],"李家乡":[106.21511047072235,32.5861678066222],"柏杨乡":[105.84665448090126,32.7828254037694],"汪家乡":[106.14535081869842,32.52953365508739],"西北乡":[105.73735491874973,32.52713031230219],"沙河镇":[105.87597879723008,32.57248571258287],"羊木镇":[105.75498095554474,32.60082629871188],"花石乡":[105.68264819236009,32.68425893767039],"转斗乡":[106.09214681235595,32.7306261696055],"两河口乡":[106.20716385381654,32.65669301834619],"青林乡":[106.03920889710358,32.80034327194034],"马家坝乡":[106.00630631561174,32.81650647770248],"鱼洞乡":[105.95049328008393,32.57547989324286],"麻柳乡":[106.05790860768445,32.5416752985244],"东溪河乡":[105.75795397258247,32.69221257115757]}

广元市朝天区行政划分代码

[{"name":"陈家乡","code":""},{"name":"平溪乡","code":""},{"name":"中子镇","code":"510812104000"},{"name":"临溪乡","code":"510812215000"},{"name":"大滩镇","code":"510812101000"},{"name":"宣河乡","code":""},{"name":"小安乡","code":""},{"name":"文安乡","code":""},{"name":"曾家镇","code":"510812103000"},{"name":"朝天镇","code":"510812100000"},{"name":"蒲家乡","code":""},{"name":"李家乡","code":""},{"name":"柏杨乡","code":""},{"name":"汪家乡","code":""},{"name":"西北乡","code":""},{"name":"沙河镇","code":"510812105000"},{"name":"羊木镇","code":"510812102000"},{"name":"花石乡","code":""},{"name":"转斗乡","code":""},{"name":"两河口乡","code":""},{"name":"青林乡","code":""},{"name":"马家坝乡","code":""},{"name":"鱼洞乡","code":""},{"name":"麻柳乡","code":"510812214000"},{"name":"东溪河乡","code":""}]

说明

1、根据《地图审核管理规定》、《互联网地图服务专业标准》等法规,本地图不作为境界线勘界等用处。使用中请查阅《中华人民共和国地图编制出版管理条例》、各地地图编制出版管理办法等地图规定按程序应用。

2、本数据是目前市面上较齐全、精度较高的数据,属性齐全,各大高校科研均在用此数据。

3、本数据仅用于echarts threejs地图效果展示。

4、当前除了包含有关键地区的geoJson地图信息外还包含有28个echarts地图效果,以及13个threejs地图实例效果,限于篇幅不一一展示,可以通过更多echarts和threejs地图效果实例查看

广元市朝天区echarts地图效果实例和threejs地图效果实例下载

相关文件下载地址
此资源需支付 ¥10 后下载
支付宝购买扫右侧红包码购买更优惠,如无法下载请联系微信:17331886870
喜欢
echarts广元市朝天区geoJson地图根据经纬度显示自定义html弹窗实例