maschek / imgmap

Javascript based imagemap editor
https://www.maschek.hu/imagemap/
GNU General Public License v2.0
59 stars 33 forks source link

Suggestion - Output for asp:rectanglehotspot #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This tool worked as expected for me, but it would have been nicer if it could 
have given me an additional option for output.

I use asp.net and on my .aspx page I have the following:
 <asp:ImageMap ID="imgMap" runat="server"  HotSpotMode="Navigate" ImageUrl="~/Images/HomePage.png"
        >
        <asp:RectangleHotSpot Top="8" Left="8" Right="172"  Bottom="72" HotSpotMode="Navigate" NavigateUrl="~/Donor.aspx" />
        <asp:RectangleHotSpot Left="8" Top="128" Right="172" Bottom="190"  HotSpotMode="Navigate" NavigateUrl="~/Wizards/MakePledgeWiz.aspx" />

etc.

I used the tool to extract the coordinates but what would have been even easier 
is if it would actually output the string in the format required by the 
<asp:RectancularHotSpot so I could more easily copy/paste it into my .aspx page 
etc.

At any rate, it still saved me a bunch of time and worked well.

Might also be nice to have a tool to make areas the same size, and align them 
etc.

Original issue reported on code.google.com by paul.her...@gmail.com on 29 Nov 2011 at 3:54