Custom map pins
Redirect page
Redirect to:
Resco mobile apps can include maps. Records with location information can be displayed on the map as pins. By default, they look like this:
You have the flexibility to set custom map pins for various records based on field differences, which can significantly enhance the visualization of data on maps. Custom map pins are easily set up through the View Designer feature.
To begin configuring a custom map pin, navigate to the View Designer and select the "Add Map Pin" option. This action will open a new configuration window titled "Configure Map Pin," where you can define how your map pins will appear based on specific criteria.
There are three main types of bindings available for custom map pins, allowing for a range of customization options:
- Constant Binding: This option utilizes a single map pin image for all the selected records. To apply this, choose an image from the image folder to represent all records uniformly on the map.
- Value Binding: This option allows the creation of custom map pins based on the name of options within an option set field.
- Raw Value Binding: Similar to Value Binding, this method defines the map pin based on the logical value of options within an option set field.
For both Value and Raw Value bindings, it's necessary to select an option set field as the basis for differentiating the records. After selecting the appropriate field, choose a style that specifies how the map pins should be formatted. The chosen style must be either ImageCellStyle or its child.
When you finish configuring and add a custom map pin to the row, it's displayed above it.
More options
In the configuration of your app project, in the Map, GPS tab, you can set additional options related to map pins and their behavior:
- Map Pin Aggregation
- Map Pin Expansion
Example: Custom map pin for active and inactive accounts
-->