I'm trying to create hotspots on an image using JavaScript by drawing shapes like polygons, rectangles, and circles. I would like to achieve something similar to the examples provided in the links below. Also, I am curious about how to overlay a canvas on top of an image.
For example: http://www.maschek.hu/imagemap/imgmap