Adding and configuring icons

Use the map editing commands of the HTML Map Editor to add icons to your maps.

About this task

You can add two types of icons to a map:
Inactive icons
Inactive icons have no function on the map.
Active icons
Active icons can link to a URL.
All icon instructions start using the format described in step two. Each icon has the following common properties:
  • A name, which must be unique.
  • A label, which appears in the status bar of the Web browser when the mouse pointer is over the icon.
  • A position, which is defined by the coordinates of the top left corner of the icon relative to the top left corner of the page.
  • An icon size, which is defined by the height and width.
  • All icons must be in either GIF or JPEG format, and must be entered as resources on the map.

To add icons to a map:

Procedure

  1. Open the HTML Map Editor with the map you want to modify.
  2. In the text editor area, add the following icon instruction:
    icon(name="icon",label="example",x=12,y=34,image="image"

    In these instructions, icon is the unique name of the icon, example is the label for the icon, the numeric values for x and y are in pixels, and image is the image file name.

    Note: The variable ISI (Icon Start Instruction) is used to represent this initial part of the instruction.
  3. To add an inactive icon, complete the instruction by adding a close parenthesis. This instruction adds an inactive icon.
  4. Click Save.