If you want to use Google Maps on your website, specify an API key for Google Maps in Content Manager Explorer, the Site Configuration Component.
Procedure
- If you do not have a Google Maps API key yet, visit https://developers.google.com/maps/documentation/javascript/get-api-key to obtain one.
- Ensure that your key is enabled for these APIs:
- Google Maps JavaScript API
- Google Static Maps API
- Go to your SDL Web website, and open the Content Explorer.
- From the Content Manager pane, in the 100 Master Publication, navigate to Building Blocks/Settings/Core/Site Manager/.
- Open the Component called Site Configuration.
- Under Settings, ensure the presence of a name-value pair in which Name is set to mapsApiKey, and Value is set to your Google Maps API key.
- Select Save and Close to commit your changes and close the Component.
- Republish the Page called Publish Settings to apply your changes.