Feature and marker labels

When you tap a map marker in the mobile app, a dialog box opens showing information about that feature. The dialog box includes a configurable label.

To configure the label, use the SYMBOLOGY node under the correct MAP node in the GIS configuration. Add a child SYMBOL node with these attributes:

  • id: Specify an ID for the symbol.
  • label: Specify the format of the label.

For example, if you look at the SAMPLE: Address symbol under the mobile-base maplet, you'll see this value for the label attribute:

Address: [StreetNumber] [StreetName] [StreetType].

This means the address label will start with the word "Address:" followed by the specified properties of the selected address, such as "Address: 112 Main St."

The label can also show complex properties, such as properties of the address that is associated with a work record in the map, or properties of the asset associate with a work order. For example, this value of the label attribute will show the words "Work Order:" followed by the work order number, the code for the associated activity, and the associated asset's unit description and ID:

Work Order: [Id] [Activity.Code] [Asset.UnitDescription] [Asset.AssetId]

For example, the label might show "Work Order: 1234 Maintenance service vehicle ABC123".

After defining the symbology, you must associate it with the correct layer. To do this, add a symbology option to under layer node and set the value to the id attribute of the symbol that you want to use, such as SAMPLE: Address in the example above.