Skip to main content
Mapping Functions Action

How to use the Mapping Functions action.

Updated over 11 months ago

The Mapping Functions action will map out one or more addresses on a Method screen or the user's available mapping app.

There are two functions available to use:

  • Navigation: Given an address, this will bring up that address on the user's mapping app. 

  • Map Route: Given a list of addresses, this will map a route using Method's Map Widget.

This article will detail both of these functions. 


Navigation

The Navigation function requires a record from a specified table with the appropriate address fields. 

It will then display the location on the user's device using whatever mapping app they have installed. For example, if they are on the desktop, it may open up in Google Maps. If they are on their mobile device, it may open up in their mapping app.

Description

Table

Table which holds the address to display.

Address Fields

For each individual address field, you must associate the related fields from the specified table.

Entity Record to Navigate

This is the Record ID of the record with the address you wish to display.


Map Route

The Map Route function requires a list of comma-separated Record IDs of records from a specified table with the appropriate address fields. 

It will then display a route using the given addresses in the map widget specified. 

Description

Table

Table which holds the addresses to map out a route.

Map Widget

This is the map widget to display the route in.

Address Fields

For each individual address field, you must associate the related fields from the specified table.

Entity Record to Navigate

This is a list of Record IDs, separated by commas, used to display the route.

Below that are other options for how your route is displayed.

Options - Optimize Route Order

With the given addresses in the Map Route function, checking this checkbox will sort the addresses to provide the shortest distance travelled.

Description

Order Field to Update

The table must have a field which Method can use to calculate the position the record will appear in the sort.

Options - Specify Start and End Addresses

With the given addresses in the Map Route function, checking this checkbox will allow you to provide the start and end address for the route.

This is normally used to give the user a way to provide a default start and/or end address via a preferences screen for the app. 

Description

Specify Start and End Addresses

  • Start: the complete address to start the route.

  • End: the complete address to end the route.

Did this answer your question?