While using WebView, there a way to add a pseudo HyperlinkListener for <img> tags making use of the usemap attribute to refer the click to a map?
For example, in the following HTML from w3schools,
<h1>The map and area elements</h1>
<p>Click on the sun or on one of the planets to watch it closer:</p>
<img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap">
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm">
<area shape="circle" coords="90,58,3" alt="Mercury" href="mercur.htm">
<area shape="circle" coords="124,58,8" alt="Venus" href="venus.htm">
</map>
is there a way to get an event listener for when the user clicks on the "Sun" element?
Related: solution for hyperlink listeners with <a> tags, HyperlinkListener in JavaFX WebEngine.
