Hacker News new | ask | show | jobs
by Sharlin 2221 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.