Oxygen XML Author Eclipse plugin includes support for image maps in TEI documents through
the use of the <facsimile> element. In TEI documents, this feature provides an
easy way to create areas (using <zone> elements) in an image where the end-user
can hover or click to retrieve more information about that particular area of the image. The
visual Author editing mode includes an Image Map
Editor that helps you to easily create the areas in the image.
New
Rectangle
New
Polygon
New Free Form
Shape
Duplicate
Delete
Undo
Redo
Show/Hide
Numbers
Bring Shape to
Front
Bring Shape
Forward
Send Shape
Backward
Send Shape to
Back
Color
Chooser
Zoom
SliderThis main Image Pane is where you work with shapes to add hyperlinks to multiple areas within an image. The editing mechanisms that are supported in the Image Pane include the following:
@xml:id attribute for the particular <zone>
element. When you insert a new zone, a unique ID is automatically generated
and displayed in this field. However, you can change this value if you want
to.<graphic>) must be inside a <facsimile>
element to support the Image Map Editor feature.Right-click the image and select Image Map Editor.
Step Result: This action will apply an image map to the current image and open the Image Map Editor dialog box.
New Rectangle or
New Polygon).
Remove
Point.You can also click the Image Map Details button below the image to expand a section that displays the details of the image map and allows you to change the coordinates and IDs of the hyperlinked areas.
<zone> elements contain additional
content (such as text or comments) and you edit the image map, the Image Map
Editor does not preserve the additional content. Therefore, if you do need
to insert additional content inside the <zone> elements, you should do so
after the image map has been created and finalized. Subsequent changes to the image map
should then be done in Text mode.If shapes overlap one another in the Image Map Editor, the one on
the top layer takes precedence. The number shown inside each shape represents its layer (if
the numbers are not displayed, click the
Show/Hide Numbers button on the Image Map Editor toolbar). To change the layer
order for a shape, use the layer buttons on the Image Map Editor toolbar (
,
,
,
).
If you insert a shape and all of its coordinates are completely inside another shape, the Image Map Editor will display a warning to let you know that the shape is entirely covered by a bigger shape. Keep in mind that if a shape is completely inside another shape, its hyperlink will only be accessible if its layer is on top of the bigger shape.