Skip to main content

Adding the Map control

Suggest edit Updated on December 13, 2021
Applicable to Theme UI-Kit applications

Add a Map control (the pyTrackingMap rule) to a cell to view markers, static user locations, and case-related markers that can represent job locations and tracks of users of offline-enabled mobile apps.

Before you begin: Complete the task Configuring a dynamic system setting for the Map control. When you add the Map control to a dynamic layout, a section, or a harness of your choice, it is displayed in a desktop application or a mobile app.
  1. In Dev Studio, open or create a dynamic layout, a section, or a harness to which to add the control.
  2. On the Design tab, from the Data display list, drag Map onto the work area.
  3. Click the View properties icon for the control to display the Cell Properties panel and configure the Map control.
    For more information, see Configuring the Map control.
  4. Save the changes.
  • Obtaining the Google API key

    You add the Map control (the pyTrackingMap rule) to a section, dynamic layout or harness, to enable users to interact with location points, and view user tracks on a map from within a desktop or mobile app. You must obtain the Google API key, because the control uses the Google Maps service.

  • Configuring a dynamic system setting for the Map control

    Add the Map control (the pyTrackingMap rule) to a section, dynamic layout, or harness to enable users to interact with location points, and view user tracks on a map from within a desktop or mobile app. You must configure a dynamic system setting that stores the Google API key, because the control uses the Google Maps service.

  • Configuring a Map control

    When you add a Map control (the pyTrackingMap rule) to a cell, you can configure it to view markers, static user locations, or case-related markers that can represent job locations and tracks of users of offline-enabled mobile apps.

  • Map control properties

    After you add a Map control (the pyTrackingMap rule) to a cell, you can configure settings that control the appearance, function, and behavior of the control.

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

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