use this plugin and simple code
https://www.npmjs.com/package/image-map-resizer
<img usemap="#image-map" src="/img/new/3.jpg" style="height:640;width: 100%;">
<map name="image-map">
<area shape="poly" alt="blue" title="blue" onclick="selectRegion('blue')"
coords="123,145,414,134,406,269,132,284">
<area shape="poly" alt="yellow" title="yellow" onclick="selectRegion('yellow')"
coords="309,292,464,243,613,285,600,378,512,414,396,440,319,387">
<area shape="poly" alt="pink" title="pink" onclick="selectRegion('pink')"
coords="435,467,707,465,709,605,457,610,432,544">
<area shape="poly" alt="orange" title="orange" onclick="selectRegion('orange')"
coords="426,738,714,730,724,871,430,869">
<area shape="poly" alt="orange" title="orange" onclick="selectRegion('orasssnge')"
coords="317,934,625,928,626,1043,330,1050">
<area shape="poly" alt="orange" title="orange" onclick="selectRegion('owefwerasssnge')"
coords="110,1040,301,1027,413,1143,303,1187,135,1168">
</map>
<script>
$('map').imageMapResize();
function selectRegion(srt) {
alert(srt);
}
</script>