Adding params to imgmap()

12 views
Skip to first unread message

b_b

unread,
Apr 19, 2009, 4:34:26 PM4/19/09
to imgmap-discuss
Hello Adam and thanks for this great script,

I've added two params to imgmap() locally :

waterMark : 'my_personnal_watermark', // allow to modify the the
watermark
outpout_type : 'areas', // allow to modify the type of output : areas
or map

If i set the outpout param to areas the code generated in the outpout
contains only the areas generated by the script (i want to store this
code in a databse used by SPIP CMS).

Do you think it would be usefull to add this params in imgmap() ? I
can post a diff if you are intersted by this.

++

Adam Maschek

unread,
Apr 19, 2009, 5:03:30 PM4/19/09
to imgmap-discuss
Hi Bruno,

waterMArk: i guess you mean you moved it from being an imgmap property
to be an imgmap.config property. I dont mind where it is, i guess, its
pretty much the same:) I think for backward compatibility i will leave
it as is.

output_type: hm, yep, this can be interesting, however the user
interface can already call the getMapInnerHTML() anytime in the
onHtmlChanged callback.but i will think about passing already just the
areas.

Thanks for your feedback,
Adam
Reply all
Reply to author
Forward
0 new messages