plot points for image map

后端 未结 6 1770
误落风尘
误落风尘 2021-02-09 07:37

I want to add automatic area highlighting to image maps on my webpage. I\'ve found the mapper.js library to be very useful in achieving this, however creating the x,y plots arou

6条回答
  •  囚心锁ツ
    2021-02-09 08:16

    This is for the frustrated person looking to auto generate coords from an image of a map.

    Open your map in photoshop. Use the magic wand to select the image edge Convert the marquee to a path Export this path to illustrator Open the file in illustrator 'save as...' SVG file (note: NOT svgcompressed) In the options menu select 'link' Hit save

    Open your .svg file in a text editor and you will have your coords.

提交回复
热议问题