V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
fan296311175
V2EX  ›  问与答

请问前端如何实现全国天气的温度、降水等数据的可视化分布的效果?

  •  
  •   fan296311175 · Apr 8, 2021 · 1848 views
    This topic created in 1846 days ago, the information mentioned may be changed or developed.

    目前能通过接口拿到全国每个省市的温度、湿度、降水量等数据。请问一下前端如何实现数据在全国的分布效果?

    参考网站:

    http://products.weather.com.cn/product/Index/index/procode/YB_WD_ZG24.shtml

    https://www.qweather.com/

    地图使用的是 leaflet, 查阅了一些资料说原理是根据坐标和数据去生成等值面,我尝试了使用 turf.js 生成等值面,但是坐标点一多,页面就会直接崩溃。。请问下大家有没有好的解决方案

    2 replies    2023-08-29 16:04:11 +08:00
    KouShuiYu
        1
    KouShuiYu  
       Apr 8, 2021
    试试这个 https://carto.com/
    nanvon
        2
    nanvon  
       Aug 29, 2023
    请问 OP 最后采用了什么方案呢?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5815 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 200ms · UTC 03:20 · PVG 11:20 · LAX 20:20 · JFK 23:20
    ♥ Do have faith in what you're doing.