The Map Screen Type is one of our data perusal screens. This screen type is data driven and enables you to visualise data with a GPS component on a map.
To add a details screen, navigate to Apps -> Screens
Click on the +ADD NEW button
- Name your Map Screen
- Select a suitable icon
- Select your data source (optional)
- Click on the +CREATE button
Configuring the Title bar
- Data source – a selection of connected data sources within your app to relate your configuration to.
- Screen Title - This will be populated with the name of your screen.
- Map Type – Standard, satellite and hybrid are the options, with hybrid being a combination of the previous two.
- Show Users Location on Map (Check Box) – If users GPS co-ordinates are available create a pin on the map for them when the check box is selected.
- Action Buttons - Define buttons to appear on the title bar.
- Select which button you'd like to configure, LEFT, RIGHT1 or RIGHT2
- Select an icon
- Add the button text
- Select the button colours
- Select the user interaction, eg.
- Visibility selection check box
6. Button Visibility - Control the visibility of this button using a formula
Search Field (directly below title)
- Data source – a selection of connected data sources within your app to relate your configuration of the detail line to.
Basic Properties
- Show Search Box (Check Box) – If check box is selected it displays the search box in the screen to be interacted with.
- Allow User to Filter by Column (Check Box) – If check box is selected allows screen user to create and apply filter rules for search results.
- Users Filters Override Default (Check Box) (Only visible if Allow User to Filter by Column Check Box is selected) - If check box is selected user filters are applied to search results despite default settings.
- Left Text – static text and dynamic values related to the data source can be entered here. Colour, font and text size can also be adjusted.
- Left Icon - The icon image displayed for this detailed line, no icon can be selected.
Right Text/Button – same as left text and left icon combined but on the right hand side of the field. Colour, font and text size can also be adjusted.
A user interaction can also be configured with the same choices as above.
Validation & Behaviour
1. Search Pattern - By default, searching will filter rows based on the user's search text matching anywhere within the displayable row values.
This option allows you to specify a replacement regular expression for row matching.
Use {{this}} to refer to the user search text in your regular expression.
e.g. '^{{this}}' will show rows that start with the search text.
2. Default Filter - Allows you to specify the default filter formula for this screen. Any incoming filters will override any default filter specified.
e.g. {{this[0]}} = ORGMETA('projectId')