img map

61 views
Skip to first unread message

Golf153

unread,
Feb 5, 2010, 11:56:50 AM2/5/10
to phonegap
Has anyone tried building image maps in HTML for their links in
PhoneGap?

Did it work well once compiled?

ade

unread,
Feb 5, 2010, 12:04:51 PM2/5/10
to phon...@googlegroups.com
you mean like this ? :)

<img src="menutop.gif" alt="" width="320" height="43" border="0" usemap="#Map" style="padding-bottom:1px;">
<map name="Map">
<area shape="rect" coords="2,4,64,37" href="javascript:history.go(-1)" target="_self" alt="Back">
<area shape="rect" coords="260,4,316,38" href="search.html" alt="Search">
</map>

works fine in our iphone app

Golf153

unread,
Feb 5, 2010, 12:16:28 PM2/5/10
to phonegap
Thanks, that is what I needed to know.

James BonTempo

unread,
May 16, 2012, 1:11:09 PM5/16/12
to phon...@googlegroups.com
I seem to be having issues w/image maps in Android apps. All area shapes seem to be rendering as rect & bigger than their coords. Anyone know anything about this?

jcesarmobile

unread,
May 17, 2012, 2:00:10 PM5/17/12
to phon...@googlegroups.com
are the images shown in the real size?
Area shapes don't resize if the size of the image change

James BonTempo

unread,
May 26, 2012, 3:48:10 AM5/26/12
to phon...@googlegroups.com
Good point about the image size. But, yes, in my case the images are displayed at full size. The image map areas appear to be located in the correct spots they're just bigger than defined and are all rendering as rectangles.
Reply all
Reply to author
Forward
0 new messages