A portion of a map
area
An area defines a portion of an overlaid image to be used as a hyperlink to a destination when clicked.
Areas may be defined as a rectangle, a circle, or a polygon of nodes.
Properties
- href
- Use sourceref notation to define the hyperlink destination.
- shape
- This defines how the
coords
are interpreted. Possible values are: - rect, circle, poly
- coords
- Rectangles are specified using
x1,y1,x2,y2
where x1=left, y1=top, x2=right, y2=bottom. - Circles are specified using
x,y,radius
where x/y is the center point. - Polygons are specified using any number of x/y pairs
x1,y1,x2,y2,..,xn,yn
Examples
Complement
- map
- The map element is used with a set of areas, allowing a single image overlay to have multiple hotspots hyperlinked to distinct documents.