Y
Hacker News
new
|
ask
|
show
|
jobs
by
kevsim
2224 days ago
Right, but in this example, the author is laying divs on top of the map areas, and those need to be rectangles.
1 comments
Sharlin
2223 days ago
The annotation divs have to be rectangles, but the mouse/touch-sensitive areas of the underlying image don't! The author's goal is to only show an annotation if the user hovers over/touches its corresponding region in the image map.
link