A rectangle from (200,100) to (400,200) on an 800-pixel-wide drawing should run from (100,50) to (200,100) when shown proportionally at 400 pixels. Recalculate from the original coordinates whenever size changes to avoid rounding drift.
Cropping or letterboxing also introduces offsets. Test each corner at mobile and desktop widths, and provide matching text links for keyboard users.
Image Aspect Ratio Explained (16:9, 4:3, 1:1) · <area> HTML image map area element - HTML