NCSA Imagemap Format

Lines beginning with # are comments.
Every other non-blank line consists of the following:

method URL coord1 coord2 ... coordn

URL is one of the following:

A coord entry is a x,y coordinate, the number depends on the method as show below.

MethodCoordinatesComments
defaultnoneFor the default URL which will be used when the client clicks on a location that does not intersect any other region. If the URL is nocontent, then the click will not take the client to another page.
circlecenter edgepointFor a circle
polyEach coordinate is a vertexFor a polygon of at most 100 vertices
rectupper-left lower-rightFor a rectangle
pointpoint x,yFor closest to a point

Notes:

Example

default nocontent rect u.html 19,12 75,75 rect r.html 80,11 135,75 rect http://www.zeus.co.uk/ 138,14 184,76 point l.html 150,130