Adding content to imagemaps

0 votes
asked Nov 9, 2017 in To be sorted by costateixeira (320 points)

Is there a way to add content in the generated cmapx?

in my case, i want to add a fixed value to the link in the cmapx

I have:

<area shape="rect" id="id1" href="#m001" title="#m001" alt="" coords="235,1109,305,1126"/>

<area shape="rect" id="id1" href="#m002" title="#m002" alt="" coords="295,1109,365,1126"/>

I want to have

<area shape="rect" id="id1" href="#001" title="#m001"  alt="" coords="295,1109,365,1126" data-tab="#resources" />

<area shape="rect" id="id1" href="#m002" title="#m002" alt="" coords="295,1109,365,1126" data-tab="#resources/>

Is there any way? Should I transform the file externally?

1 Answer

0 votes
answered Nov 9, 2017 by plantuml (182,860 points)
Unfortunately, this cannot be done.

You have to transform the file externally.

Sorry about that!