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

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

  •  
  •   karasshell · Jun 4, 2015 · 4410 views
    This topic created in 3988 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   ·   5691 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 08:40 · PVG 16:40 · LAX 01:40 · JFK 04:40
    ♥ Do have faith in what you're doing.