3 ms·
Right, but in this example, the author is laying divs on top of the map areas, and those need to be rectangles.
by kevsim 6y ago
Right, but in this example, the author is laying divs on top of the map areas, and those need to be rectangles.
- Sharlin 6y agoThe 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.