PolyMap.java
Usage: Place ImageMap.class, Point.class, Poly.class, Polymap.class, and PolyObj.class (and whmapapp.gif) within your HTML directory.
Java Source: ImageMap.java
HTML Source:
<applet code=ImageMap.class width=503 height=453>
<param name=img value="whmapapp.gif">
<param name=COLOR value=FF00FF>
</applet>
Note: You can add polygon objects to your images easily with the Polymap Toolkit, which is available from the author.
Author: Cheong S Ang
|