Pref attributes

Each preference node can have one or more Pref nodes as children, each of which defines the initial state of one or more layers. A Pref node has these attributes:

Attribute Description
dataset Alias of the dataset that the preference applies to. You can specify * if the preference applies to all datasets.
state Initial state of the dataset. Can be set to one of three values:
  • on: The specified layer or layers will be on when the Map Drawer is loaded.
  • off: The specified layer or layers will be off when the Map Drawer is loaded.
  • na: The specified layer or layers will not be displayed.

For example, a Sewer Main layer might be a child node with this value set to on for a main preference, while it is also a child node set to off for a group called Sewer. In this example, the main map would show the Sewer Main layer when opened. The Sewer group would not show this layer when selected.