Follow

How can I create a link to Google maps from PPO?

PPO allows users to enter two coordinates (one for latitude and one for longitude) and then follow a calculated link to the defined location in Google Maps.

Follow these steps to set this up:

Step 1: Create two text fields

The first step is to add two manual text fields, one for latitude and one for longitude:

mceclip0.png

For details on how to set up data fields, see the following knowledge base article.

Step 2: Create a calculated URL field

The next step is to create the field that will house the link to Google Maps. This needs to be a calculated field, with the following formula:

dbo.ppoGetGoogleMapsUrl(P02,P03)

P02 and P03 refer to the two fields names added for Latitude and Longitude.

mceclip1.png

Once users have entered the latitude and longitude fields, they will be able to click on the Google Maps link and be taken directly to the defined position:

mceclip2.png
mceclip3.png

Note:

For the above formula to work, the GPS coordinates need to be entered in the following format (decimal degrees):

GPS latitude (south / north): -25.7388900

GPS longitude (east / west): 28.1889600

No other format of GPS coordinates is supported when using this calculation.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Article is closed for comments.
Start a 30 Day Free TrialClick ClickNo Credit Card and No Obligation
Powered by Zendesk