Open Maps

This post is referring to Vahana 2 (beta version). To check the document for production, please go to vDesigner-v1.0

This task opens the Google Map application on the mobile app screen as a result of user-action.

Steps to Configure

  1. On the <<task group’s name>> page, find the Task panel.
  2. In the Task panel, search and find the Open Maps task.
  3. Drag the Open Maps task from the Task panel to the Execution panel.
  4. Under Open Maps, a group of boxes comes into view.
  5. In the boxes, configure related properties as follows:
List/BoxDescriptionMandatory
Reference NameIn this box, enter the name of the task. Also, the system generates a reference name by default that you can change. Yes
Enter LatitudeIn this box, you can configure the default latitude coordinate. The Google Map will display the location with this latitude by default after the application opens the map.

To configure latitude:
1. Click in the Enter Latitude box, and a smart selector expands.
2. In the Enter Latitude box, enter the attribute’s name that will store the latitude coordinate’s default value, and the smart selector displays the attribute’s name.


3. In the smart selector, select the attribute.
Yes
Enter LongitudeIn this box, you can configure the default longitude coordinate. The Google Map will display the location with this longitude by default after the application opens the map.

To configure longitude:
Click in the Enter Longitude box, and a smart selector expands.
2. In the Enter Longitude box, enter the attribute’s name that will store the longitude coordinate’s default value, and the smart selector displays the attribute’s name.


3. In the smart selector, select the attribute.
Yes
Business Rule(Optional Step)In this box, you can configure a business rule to determine the execution of the Open Maps task.  If the user’s action satisfies the condition in the business rule, the Open Maps task is executed.

To configure the business rule:
–> In the Business Rule box, click the application tree icon (), and the Business Rule panel opens.
–> In the Business Rule panel, click Create New to configure the new business rule.
No
  1. After you configure the related properties, click Save to configure the Open Maps task.
Was this article helpful?
YesNo