Adding the Map control
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.
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.
In Dev Studio, open or create a dynamic layout, a section, or a harness to which to add the control.
On the Design tab, from the Data display list, drag Map onto the work area.
Click the View properties icon for the control to display the Cell Properties panel and configure the Map control.
For more information, see Configuring a Map control.
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.
- Keystores
A keystore is a file that contains keys and certificates that you use for encryption, authentication, and serving content over HTTPS. In Pega Platform, you create a keystore data instance that points to a keystore file.
- harnesses
Organize the content and structure of a portal by defining harnesses. By populating harnesses with sections, you can build a modular interface that promotes reuse and maintainability.
- Sections
Sections are the building blocks of your user interface. You can populate a section with components, such as fields and controls, to create a functional chunk of user interface that can be reused in different contexts for improved consistency and efficient development.
- Tracking mobile users based on geolocation data
Record the location of users of offline-enabled mobile apps who work on specific assignments by enabling constant tracking for case types. For example, enable tracking in tasks for service employees in the field so that dispatchers can effectively assign work to the employees based on their current location.
Previous topic Integer Properties — Presentation tab Next topic Obtaining the Google API key