LinkedIn
Copied!

Table of Contents

Configuring the Map control

Version:

Only available versions of this content are shown in the dropdown
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.
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 check box.

    2. In the Type field, select the type of data from which you want to pull the markers, and then select the marker source.

      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.

Related Content

Did you find this content helpful?

Have a question? Get answers now.

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