绘制图像映射点 [英] plot points for image map
问题描述
我想在我的网页上为图像地图添加自动区域突出显示。我发现mapper.js库对于实现这一点非常有用,但是在区域地图周围创建x,y图非常耗时。
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 around a regional map is very time consuming.
是否存在创建不规则多边形的边界坐标的快速方法,例如可以在区域地图上找到?
Is there a quick way to create bounding co-ordinates of a irregular polygon such as can be found on regional maps?
编辑
必须要有办法做到这一点。我的Windows PC上有Fireworks 8和photoshop CS3,但我对Fireworks更熟悉。
EDIT
There has got to be a way to do this. I have Fireworks 8 as well as photoshop CS3 on my windows PC, but I'm more familiar with Fireworks.
如果我创建一个选框,我可以右击>修改选框>转换为路径。这创造了一个带有几个点的路径,但我不知道如何进入下一步,即提取这些点的坐标。
If I create a marquee, I can right click > Modify Marquee > Convert to Path. That creates a Path with several points, but I don't know how to get to the next step which is extracting the coords of those points.
我尝试插入热点,多边形切片,然后导出为html and images。这两个都给我方形热点,而不是多边形。我也尝试右键单击路径和编辑>复制路径轮廓,以及编辑>复制Html代码。也没有给我多边形坐标。
I've tried inserting a hotspot, a polygon slice, then exporting to "html and images". Both of these give me square hotspots, not a polygon. I've also tried right click on the path and Edit > Copy Path Outlines, as well as Edit > Copy Html Code. Neither give me the polygon coords.
我只能获得切片的多边形坐标。是否有办法将路径转换为Fireworks 8中的切片?
I can only get polygon coords for a slice. Is there perhaps a way to convert the path to a slice in Fireworks 8?
推荐答案
对于Fireworks 8:
For Fireworks 8 :
1)使用魔杖&创建你的选框。选框工具。
1) Create your marquee using the magic wand & marquee tool.
2)右键单击>修改选框>转换为路径
2) Right click > Modify Marquee > Convert to Path
3)右键单击路径并选择插入热点(或按Ctrl + U)
3) Right Click on the path and select "Insert Hotspot" (or press Ctrl + U)
4)选择文件>导出
5)为另存为类型选择HTML和图像
5) Select "HTML and Images" for "Save as Type"
这篇关于绘制图像映射点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!