Romain Maz BILLOIR
unread,Oct 14, 2011, 1:16:39 PM10/14/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SVG Web
(Frenchy, sorry)
Hi everyone, i'm trying to apply a map on some images using the map
element.
The images is loaded by an image element and then displayed by an
using element:
<defs>
<image id="grass" width="38.64" height="29.32"
xlink:href="grass.svg" />
</defs>
<map name="basic_tile" id="basic_tile">
<area shape="polygon" points="14.143,29.32 0,22.249 0,12.248
14.143,10.353" />
</map>
<use xlink:href="grass" x="50" y="50" usemap="#basic_tile" />
I'm trying to create a 2D Iso hexagonal map renderer with a simple
tooltip when players click on tiles.
Thanks.