Map form control

A form control that shows an interactive map on an eForm.


Map form control

Configure the Map form control

To configure the Map Map icon control, do the procedure in this topic.

Video: Use a Form-Based App to Create a Widget

Video: Common Configuration Settings in eForm Controls

Examples

Good to Know

  • This form control does not show in print or PDF formats.
  • Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation, and it is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business uses cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, and other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add a Map Map icon control:
      1. On the eForm Builder screen, in the Toolbox, open the Advanced Controls Advanced Controls icon tab.
      2. On the Advanced Controls Advanced Controls icon tab, drag a Map Map icon form control onto your eForm.
    • Change a Map Map icon control:
      1. On your eForm, click the control, and click Edit Edit icon.

Procedure

  1. Complete the settings on the configuration screens. You can use the Process Data screen to specify a variable.

General

Specifies the basic configuration for the Map form control.

Figure: General tab

General tab

Fields

Field Name Definition

Internal Name

Function:
Specifies a unique, technical name for your control.
Accepted Values:
One line of text with no spaces.
Default Value:
Different for different controls.
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Help Text

Function:
Specifies the text to shows when a runtime app user hovers their cursor over the form control.
Accepted Values:
More than one line of text.
Default Value:
None
Example:
Refer to:

Help Text Display

Function:
Specifies if the field shows the text in Help Text field when the form user puts the mouse on the label or field.
Accepted Values:
  • None - Does not show the help text.
  • Hover On Label - Shows the help text when you put your mouse on the label.
  • Hover On Field - Shows the help text when you put your mouse on the field.
  • Hover On Both - Shows the help text when you put your mouse on the label and Field.
Default Value:
None
Example:
Refer to:

Configure

Configures advanced settings for your form control.

Figure: Configure tab

Configure tab

Fields

Field Name Definition

Lookup Source

Function:
Specifies a reusable lookup configuration. The lookup configuration includes the data source and other configuration values for the lookup.
Accepted Values:
A valid lookup source
Default Value:
None
Example:
Refer to:

Add Lookup Add Lookup icon

Opens this Screen:
Select Data Source Type screen
To Open this Field:
  1. In the Select List Type field, select Lookup List.
Function of this Screen:
Specifies the data source where the form control will do the lookup procedure.
Example:
Refer to:

Map Type

Function:
Specifies the type of maps you want to show on the form control.
Accepted Values:
Default Value:
Google

API Key Token

Function:
Specifies the access token that connects to your Google or Bing application.
Accepted Values:
A list of access tokens configured for your environment.
Default Value:
None
Example:
Refer to:

Map Zoom Level

Function:
Specifies the map zoom level.
Example:
Refer to:

Map Center Option

Function:
Specifies the address and location on the map.
Accepted Values:
  • Address - Shows the address on the map.
  • Coordinates - Shows the latitude and longitude value from the Map Options.
  • Current Location - Shows the form user's current location on the map.
Default Value:
Address
Example:
Refer to:

Map Center (Latitude)

Function:
Specifies the latitude of the coordinates.
To Open this Field:
  1. In the Map Center Option list, select Coordinates.
Accepted Values:
A valid latitude value
Default Value:
42.3601

Map Center (Longitude)

Function:
Specifies the Longitude of the coordinates.
To Open this Field:
  1. In the Map Center Option list, select Coordinates.
Accepted Values:
A valid longitude value
Default Value:
-98.05

Default Value

Function:
Specifies the name of the address shown to the form user as default on the map.
To Open this Field:
  1. In the Map Center Option list, select Address.
Accepted Values:
One line of text that can have spaces.
Default Value:
California

Enable Search

Function:
Specifies whether to show a search field on the Map form control for a form user to search a location.
Accepted Values:
  • Deselected - Does not show a search field on the Map form control.
  • Selected - Shows a search field on the Map form control.
Default Value:
Deselected

Configure Markers

Opens this Screen:
Map Options
Function of this Screen:
Configures marker to identify a location on a map.

Behavior

Specifies how the control shows on your form.

Figure: Behavior tab

Behavior tab

Fields

Field Name Definition

Visible

Function:
Specifies if the form user sees the field.
Accepted Values:
  • Selected - The form user sees the field.
  • Deselected - The form user does not see the field.
Default Value:
Selected
Example:
Refer to:

Advanced

Specifies advanced settings for your form control.

Figure: Advanced tab

Advanced tab

Fields

Field Name Definition

Field ID

Function:
Shows an ID of the control.
Accepted Values:
Read only.
Default Value:
Different for different controls.
Example:
Refer to:

Height (px)

Function:
Specifies the height for your control.
Accepted Values:
An integer.
Default Value:
300

Show In Tablet

Function:
Specifies if the form field shows on a tablet.
Accepted Values:
  • Selected - The form field shows on a tablet.
  • Deselected - The form field does not show on a tablet.
Default Value:
Selected
Example:
Refer to:

Show In Mobile

Function:
Specifies if the form field shows on a mobile device.
Accepted Values:
  • Selected - The form field shows on a mobile device.
  • Deselected - The form field does not show on a mobile device.
Default Value:
Selected
Example:
Refer to: