Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring the Map control

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Help your users locate relevant geographic points with less effort by using the Map control.

For example, you can create a map that displays the location of hotels in a booking application, and give your users a more convenient way to browse for offers.
Before you begin: Prepare and implement the API key:
  1. Open the view with the control that you want to edit.
    For more information, see Accessing views in your application.
  2. In the configuration pane on the right side of the window, hover over the control, and then click the Edit icon.
  3. Hover over the newly added Map control, and then click the Edit icon.
  4. Adjust the map format by completing the Map rendering section.
  5. Add markers to the map by performing the following actions:
    1. In the Markers section, select the Enable markers checkbox.
    2. In the Type field, select the type of data from which you want to pull the markers, and then select the marker source.
      For example: Pull markers from a data list that contains hotel addresses: set the Type field to Data page. Then, in the Data page field, enter D_HotelList. In the Location property field, enter LatLongAddress.
  6. Configure user tracking by performing the following actions:
    1. In the Users section, enable the display of user locations on the map by selecting Enable users filter.
    2. In the Tracks section, enable the display of user tracks on the map by selecting Enable tracks.
    Data page details for the user and track lists fill in automatically.
  7. Click Apply.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us