Map files written using the CERN format contain four keywords: default, circle, rectangle and polygon. These can be abbreviated as def, circ, rect, and poly. When a user makes a selection, shapes are checked in the order they appear in the file. The beginning of each line is checked for a keyword along with its appropriate syntax:
default URL URL must always be set.
circle (x,y) r URL (x,y) and its radius r.
rectangle (x1,y1) (x2,y2) URL (x1,y1) and bottom-right
(x2,y2) corners.
polygon (x1,y1) ... (xn,yn) URL A URL can be either a full URL (access method, host name, and path) or a partial URL. A partial URL must always begin with a slash, and refers to a URL on the local host.
The file cern-shapes.cern-map specifies the configuration information for this image-map.
Christopher R. Vincent -- Christopher_Vincent@nospam.alum.mit.edu