When an image is styled with CSS to grow or shrink to occupy available space in the container DIV, what steps must be taken to keep the image-map area coordinates in sync with the changing image size?
img {
/* border: 2px dotted red; */
width:100% !important;
max-width: none !important;
height: auto !important;
}
div {width: 100%; height: auto}
Does the plugin's scaleMap: true
property handle this scenario? Or must additional steps be taken? I haven't been able to get it to work using scaleMap alone, but perhaps I'm misunderstanding what scaleMap does. Does it handle situations where the user drags the browser window wider or narrower, and changes in orientation on a tablet device?