getGoogleMapsAPIKey()
Used in the Location component of the DX Components layer to obtain the API key for the Google Maps application from the DSS setting (uiengine/map/googleapikey) and send it to the MapsContext control of the Cosmos layer as a property.
Returns
The API key for the Google Maps application as a string.
Parameters
This API does not have parameters.
Usage example
In this example, the API obtains the API key to render Google Maps.
let apiKey = getPConnect().getGoogleMapsAPIKey();
Previous topic getDataObject(contextName) Next topic getImagePath(imageName)