Issue with visitor group Geographic Coordinate

  • Updated

This article describes an issue when trying to set up a visitor group with a geographic location and have setup the Google Api but seeing the 'Google Maps API Terms of Service' pop up when trying to use it.

The app key is setup as following:

<add key="googleMapsApiV3Url" value="https://maps.googleapis.com/maps/api/js?key=AIzaSyCkPtIlRi3rEqG1MDY"/>

Setting the key up this way is incorrect. Instead it should have it in applicationSettings not app settings

Retrieve the key from the following location.
https://developers.google.com/maps/documentation/javascript/get-api-key 

Add that key in applicationSettings section

For example:
<applicationSettings googleMapsApiV3Url="https://maps.google.com/maps/api/js?key=AIzaSyCkPtIlRi3rEqG1MDY" ... />