Moxi Media Inc.
<indexmap> Discussion Forum
IMF Developer's Guide » Print Configuration » <template> » <indexmap>  

The <indexmap> element is used to add an index map to the map. Your site configuration XML file must contain the attributes relevant to the index map before this will work.

Note that the position and size attributes must be specified in the units defined by the units attribute of the <template> element. The dpi attribute is always specified in points.

Frequency Parent Elements (the <indexmap> element is valid within):
PO <template>
   

Frequency Description (in this context)
PO The <indexmap> element may appear only once within the <template> element in any order.
   

Attributes Description
position The page position of the lower left corner of the index map, expressed in the units specified in the units attribute of the <template> element. The position should be two numbers separated by a comma (with no white space), representing the x and y location. For example, if the units are "points", a value of "72,72" would indicate a position one inch from the left side and bottom side of the page. Required.
size The print size of the index map, expressed in the units defined in the "units" attribute of the <template> element. The size should be two numbers separated by a comma (with no white space), representing the width and the height of the space where the index map image should be printed. For example, if the units are "points", the entry for an index map occupying a two inch square would be size="144,144". Required.
type The routine type used to display the extent of the map on the index map, either "box", or "crosshair". Optional, defaults to "crosshair".
dpi A numeric value indicating the resolution of the index map. Index map images are always created at 72 dpi, so higher values can be used to request a larger image to print in the same space, resulting in a higher resolution index map. Try using dpi="216". Optional, defaults to "72".
   

Example:

<indexmap position="595,65" size="173,173" type="box" dpi="216"/>

Valid HTML 4.01!