Skip to content

Fields Editor

Overview

The default tooltip behaviour on active layers / features is to display all the data related to that feature. While this may be informative, it may not be presented in an aesthetically pleasing fashion and may include information that is not relevant to the end user. Mapworks allows the user to customise the on-click display format in various ways. This includes:

  • Selecting which fields should be visible
  • Renaming the field display titles
  • Applying a field dictionary (i.e. translating a data code to a human readable value)
  • Changing the order of the fields

To open the Fields Editor:

  1. In the sidebar, select the Layers tab
  2. Right click the layer and click Fields

Open Fields Editor

Fields Editor

Field Titles

Display Titles can be configured by editing each field individually or by clicking the Generate User Friendly Field Titles button to automatically convert all field display names.

Generate User Friendly Field Titles

Field Visibility

By default, all fields are visible. Click the Toggle Visibility symbol to choose whether each field appears in the tooltip.

Toggle Field Visibility

Example tooltip of above field visibility configuration:

Toggle Field Visibility Example Tooltip

Field Order

The order in which fields are displayed in the Feature Information Tooltip can be arranged by clicking the Fields Order tab and using drag and drop to order the fields.

Fields Order

Editing Fields

Each field has the following configurable properties:

  • Display Title
  • Description
  • Prefetch
  • Field Dictionaries

NOTE

Prefetch is a developer setting which allows the field value to be sent along with the intial geometry request. This is only relevant for applications.

To edit a Field:

  1. Click the Fields Editor tab
  2. Click the Edit Field symbol

Edit Field

Edit Field

Field Dictionaries

Field dictionaries can either be created in the Mgt Console and assigned to the dataset or manually added to each field from within the map and saved to the layer.

NOTE

Field Dictionaries created within the map apply only to that layer and may not be re-used. If they are created in the Mgt Console, they may be assigned to multiple layers.

To add a Field Dictionary:

  1. In the Fields Editor, Click the Edit Field symbol
  2. Click the Dictionary tab
  3. Click Add and enter key/value pairs

Field Dictionaries

Any Dataset Field Dictionaries which are assigned to the field are displayed under its tab.

To create/assign dataset field dictionaries, see Dataset Field Dictionaries.

Field Dictionaries