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

用 js 如何实现获取地图区域那样的不规则选区?

  •  
  •   karasshell · Jun 4, 2015 · 4404 views
    This topic created in 3985 days ago, the information mentioned may be changed or developed.

    http://ww1.sinaimg.cn/bmiddle/69dd3998gw1esshj2ua44j20gf0blq3n.jpg
    就像在一张地图上,把鼠标放到不同的省就会高亮那一块,每一块区域的边缘都是曲折不规则的

    karasshell
        2
    karasshell  
    OP
       Jun 5, 2015
    @Septembers 这么说这种只能用svg来做了?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   820 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 19:47 · PVG 03:47 · LAX 12:47 · JFK 15:47
    ♥ Do have faith in what you're doing.