To get your image map to work, you'll need to re-calculate the coordinates in the <area> tags every time you rotate the image. It's been too many decades since I took trigonometry to try to help, so I'd suggest that you do some searches for example scripts.