This version is old school.
Please find jQuery plugins on npm.
Image Map Resizer
by David J. Bradshaw
Keep HTML Image Maps scaled to the size of an image. It detects the window being resized and updates the co-ordinates of the image map.