Defining the annotation filter

The annotation filter is used to filter the annotations that are displayed on the map.

annotation filter

To add the annotation filter, add the FILTER node as a child of the ANNOTATIONS node.

  • For the title attribute, enter the display title that you want to show in the annotation tool. The default is Annotation Filter.
  • For the fieldOrder attribute, enter the fields that you want to show in the annotation filter in a comma-separated list. The fields must be defined under the FIELDINFOS node. If you do not enter any field names, then the annotation filter will show all of the fields that you have defined.

See FILTER for descriptions of all of the available attributes. A sample configuration is shown below.

<FILTER nullText="Global" showGlobalFilterButton="True" 
showZoomToFeaturesButton="True" showIncludeExpiredFilterButton="True" 
fieldOrder="H8SUBTYPE,H8MONIKER,H8REGION,H8STATUS" 
showSpatialFilterButton="True" toggleKeys="M+A+F" disabled="False" 
title="Annotation Filter" closable="False" collapsible="False" />