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 Event Configuration 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 appears.
  5. In the boxes, configure different 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:
–> In the Enter Latitude box, click the application tree icon (), and the right pane displays the Latitude area.
–> In the Latitude area, click the Source list and select the data source (For example:- Data Store) from which the Google map will display the latitude coordinate.
–> After you select the data source, see the tree of different JSON paths in the selected data source.
–> In the tree, select a path from where the Google map will fetch the latitude coordinate.

–> After you select the path, click Select, and the default latitude coordinate is successfully configured.
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:
In the Enter Longitude box, click the application tree icon (), and the right pane displays the Longitude area.
–> In the Longitude area, click the Source list and select the data source (For example:- Data Store) from which the Google map will display the longitude coordinate.
–> After you select the data source, see the tree of different JSON paths in the selected data source.
–> In the tree, select a path from where the Google map will fetch the longitude coordinate.


–> After you select the path, click Select, and the default longitude coordinate is successfully configured.
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