We have a questionnaire where we pre-load our GPS coordinates to a GPS type question, which then display the location on a google map. This worked perfectly fine until this morning when we have noticed that all our Interviews display a blank map with the following error written over the blank map: “This site can’t load google maps correctly”
Could you please advise if there is something wrong on our side or if something has changed on Survey Solution’s side?
We are currently running a local server on version 18.06.2. We have tried to update our test server (local) to version 18.08.2 but we still have the same issue.
Google changed its API policy on Aug 18th. This is why you experience that problem. We are are preparing an instruction for our uses on how to resolve it. Briefly, you will need to create your own API key to google maps and put that key into your config file to activate the free google map services for your server. We should be able to provide more details instructions on that process shortly.
Do you perhaps know when the Instructions on how to resolve the Google API key would be released, and where would I look for the Instructions from Survey Solutions once it is released?
We’ve made the changes as per your instructions but it did not seem to resolve the issue. We made the changes on our local Development server but when we test the changes we found that only one of our interviews displayed the map correctly, as for the rest, they all still show the same as per my original screen shot attached to this thread.
I have not yet received any feedback on my last post. We have created our own Google API key and included that into our web.config file but we only found one interview that displayed the maps correctly when viewing the Interview through the Headquarters software, the rest of our Interviews all still display a blank map with the following error written over the blank map: “This site can’t load google maps correctly”.
Are we doing anything wrong on our side or is this a known issue?
We’ve followed your instructions step-by-step and we have created our API key based on the three API’s that you indicated and we have included all three API’s in the API restriction and updated our web.config with our generated API key, but we are still not able to view our pre-loaded maps (pre-loaded GPS coordinates) in the Head Quarters software. Neither are we able to view any of the GPS questions that has been captured on the tablets.
We have no Headquarters.config file in the configuration directory, only a Headquarters.web.config which I assume you meant in your previous communication. However this may be, this is the only config file in the Configuration directory, so we added our API key in the Headquarters.web.config file but there is still no change.
We are still not able to view our pre-loaded maps nor maps based on GPS questions captured via the tablet.
Replace YOUR_OWN_API_KEY with Your own key and click Run
If key is working and all 3 Api’s working fine. Then I can propose to go through remote session via Teamviewer to inspect config files and see if there is an error.
For ‘Maps Javascript API’ we tried to test using the URL you provided https://jsfiddle.net/api/post/library/pure but we get a ‘404 That page doesn’t exist.’ error message when trying to navigate to the URL.
The ‘Maps Embed API’ is the only one that seem to be working correctly using the URL you provided https://jsfiddle.net/06Lfovzj/
When viewing our Interviews in the Headquarters software we have noticed that the very first map (GPS question) that is displayed will show the map correctly, however any GPS questions we view there after will show the same error that we see when testing the ‘Maps Static API’.
Have You changed YOU_OWN_API_KEY_HERE string with own ApiKey?
I’m very sorry for Your troubles.
It seems to be very strange. I will try tomorrow all my own steps, and create new API key for own installation from scratch. Maybe I’m missed some config.