Appearance
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:
- In the sidebar, select the Layers tab
- Right click the layer and click Fields
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.
Field Visibility
By default, all fields are visible. Click the Toggle Visibility symbol to choose whether each field appears in the tooltip.
Example tooltip of above field visibility configuration:
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.
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:
- Click the Fields Editor tab
- Click the Edit Field symbol
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:
- In the Fields Editor, Click the Edit Field symbol
- Click the Dictionary tab
- Click Add and enter key/value pairs
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.