Check out example codes for "mdn html map". It will help you in understanding the concepts better.

Code Example 1

<map name="primary">
  <area shape="rect" coords="0,0,75,75" href="left.html">

</map>
<img usemap="#primary" src="https://placehold.it/350x150" alt="350 x 150 pic">

Learn ReactJs, React Native from akashmittal.com