Got this interactive image map (Not Google Maps). Wished to know 1) Since now it's linking to another page (doRpMap.php), this page will show the summary details of all happenings relating in that clickable area. How to get the system checked against database upon user clicking that area and show all happenings occurred in that building?
These are my amended codes now.. Please advice and Thanks.
<svg width="100%" viewBox="0 0 1600 2200">
<image x="50" y="50" width="1500" height="2000" xlink:href="images/Campus-map.jpg" />
<a xlink:href="doRpMap.php">
<image x="500" y="400" width="60" height="60" xlink:href="images/redTack.png" alt="Sports Complex" />
<image x="650" y="250" width="60" height="60" xlink:href="images/redTack.png" alt="Campus Heights Child Care Centre" />
<image x="800" y="200" width="60" height="60" xlink:href="images/redTack.png" alt="Republic Hospitality Centre (RHC)" />
<image x="970" y="400" width="60" height="60" xlink:href="images/redTack.png" alt="Adventure Learning Centre" />
<image x="300" y="500" width="60" height="60" xlink:href="images/redTack.png" alt="The ARCH" />
<image x="350" y="700" width="60" height="60" xlink:href="images/redTack.png" alt="Sports Hall" />
<image x="550" y="650" width="60" height="60" xlink:href="images/redTack.png" alt="Swimming Complex" />
<image x="170" y="800" width="60" height="60" xlink:href="images/redTack.png" alt="Basketball Court" />
<image x="780" y="820" width="60" height="60" xlink:href="images/redTack.png" alt="North Food Court" />
<image x="950" y="820" width="60" height="60" xlink:href="images/redTack.png" alt="E6" />
<image x="1150" y="980" width="60" height="60" xlink:href="images/redTack.png" alt="E5" />
<image x="1100" y="1050" width="60" height="60" xlink:href="images/redTack.png" alt="Agora Halls" />
<image x="950" y="1050" width="60" height="60" xlink:href="images/redTack.png" alt="Library" />
<image x="750" y="1100" width="60" height="60" xlink:href="images/redTack.png" alt="Lawn Food Court @ Level 3" />
<image x="760" y="1000" width="60" height="60" xlink:href="images/redTack.png" alt="W6" />
<image x="620" y="1100" width="60" height="60" xlink:href="images/redTack.png" alt="W5" />
<image x="600" y="1170" width="60" height="60" xlink:href="images/redTack.png" alt="ACEL Lab" />
<image x="770" y="1250" width="60" height="60" xlink:href="images/redTack.png" alt="W4" />
<image x="950" y="1170" width="60" height="60" xlink:href="images/redTack.png" alt="Reel Room Cafe" />
<image x="1120" y="1220" width="60" height="60" xlink:href="images/redTack.png" alt="E4" />
<image x="1120" y="1420" width="60" height="60" xlink:href="images/redTack.png" alt="E2" />
<image x="950" y="1300" width="60" height="60" xlink:href="images/redTack.png" alt="E3" />
<image x="600" y="1300" width="60" height="60" xlink:href="images/redTack.png" alt="W3" />
<image x="600" y="1500" width="60" height="60" xlink:href="images/redTack.png" alt="W2" />
<image x="950" y="1500" width="60" height="60" xlink:href="images/redTack.png" alt="E1" />
<image x="770" y="1650" width="60" height="60" xlink:href="images/redTack.png" alt="W1" />
<image x="950" y="1600" width="60" height="60" xlink:href="images/redTack.png" alt="South Food Court" />
<image x="1300" y="1700" width="60" height="60" xlink:href="images/redTack.png" alt="The Republic Cultural Centre (TRCC)" />
<image x="950" y="1750" width="60" height="60" xlink:href="images/redTack.png" alt="Republic Polytechnic Centre (RPC)" />
<image x="950" y="1970" width="60" height="60" xlink:href="images/redTack.png" alt="One-Stop Centre" />
<image x="800" y="1850" width="60" height="60" xlink:href="images/redTack.png" alt="Retail Shops" />
</a>
</svg>