In Oneclick, when you click on "GIS View", the map is not loaded, and it fails with the message "This page didn't load Google Maps correctly. See the JavaScript console for technical details".
Also, when you open the browser JavaScript Console (F12 key), you can see the error: "Google Maps API error: MissingKeyMapError"
Release: SDBSFO99000-10.2-Spectrum-Device Based Suite-Server FOC
Component:
Environment:
Spectrum 10.xStarting on June 22, 2016, Google requires an API key, to enable the Google Maps usage embedded in Websites.
The process consists on requesting an API Key from Google and configure it in Oneclick:
1. Open the following link and perform the request of the API Key:
https://console.developers.google.com/flows/enableapi?apiid=maps_backend,static_maps_backend,geocoding_backend,directions_backend,distance_matrix_backend,elevation_backend,roads,street_view_image_backend,maps_embed_backend,places_backend,geolocation,timezone_backend,maps_android_backend,maps_ios_backend,placesandroid,placesios&keyType=CLIENT_SIDE&reusekey=true
2. In Oneclick server, open the "$SPECROOT\tomcat\webapps\spectrum\console\googleAPIKEY.config" file and configure the lines as below:
UseLicense=Yes
API_KEY=<new_api_key>
Replace "<new_api_key>" with the API key obtained from Google in Step 1 above.
3. Save the file.
It is not necessary to restart Tomcat service in Oneclick server. Just close/reopen your browser and open GIS View again.