Custom preferences
In this example, a custom preference called “checkzoning” has been added under the
node in the MapDrawerDatasets configuration:Attribute | Value |
---|---|
name | checkzoning |
preftype | custom |
This preference sets the state of the Zoning dataset to “on.” The rest of the datasets are set to “na,” meaning they won’t be displayed when this preference is used:
Attribute | Value |
---|---|
state | on |
dataset | Zoning |
To use a custom preference, specify its name in the custompref attribute of a Map Drawer item in the MapDrawer configuration. In this example, an item called “Check Zoning” has been added to the Map Drawer that is displayed when you look up addresses in the Contact and Property Browser. Because the checkzoning custom preference is applied to this item, only the Zoning dataset will be displayed:
Attribute | Value |
---|---|
id | 1 |
text | Check Zoning |
title | Zoning |
custompref | checkzoning |