This lesson will cover the following topics:

01 Getting Started

This tutorial covers the Google Maps features. Titan currently supports two Google Maps widgets; a map and an address finder.

02 Enable Google Map

Before you can start using the Google Maps widgets an API key has to be entered to determine the Google connectivity.
1. Navigate to Project Settings and select the Site Elements tab.
2. Click the API Keys gear icon.
screenshot showing the site elements tab under the project settings

3. Under Google Map turn on the Enable toggle switch and fill in the rest of the details. The Region information is related to your API key and will not limit your map functionality.
screenshot to show how to enable the google map API key

03 Adding Google Maps

You can now add the Google Map widget to your canvas. Using the element settings, you can configure how users can interact with your map.
screenshot showing the configured google map in the project

04 Google Map Settings

Content

In the Content tab, you can choose how the map is displayed to the users. This includes creating your Marker that will be used as the center for your map and creating an action to execute once the user clicks on the Marker.

screenshot showing the content options for the google map settings

Although you can only have one Marker per map, you may have many Pins.

Click Add Pin and fill in the data in the Configure GoogleMap Pin fields to add your new pin. Using the On Click button, you can also configure an action to run every time a user clicks on a pin.


05 Address Finder

The Address Finder widget allows users to find an address anywhere in the world. You can choose using Static Values or Dynamic Values which will allow users to select from a defined list in Salesforce.

screenshot showing where to find the address finder widget


If you choose the Static Values option, you may define a specific country that the users will be limited to.
screenshot showing the address finder inserted into a form with the settings

Click Configure to map the Address Finder parts to your project’s fields.
screenshot showing how to configure custom parameters

When a user types in an address in the Address Finder element, possible results are displayed. Once the requested address is selected, the corresponding form fields will be populated based on our previous mapping.
Screenshot showing how the address finder works to complete a form

06 Got Feedback?

Additional Resources