pkmnct / qualtrics-google-map-lat-long

Embed a customizable Google Map in your Qualtrics survey to collect location data
MIT License
21 stars 13 forks source link

Google Maps Error #26

Open apark27 opened 1 year ago

apark27 commented 1 year ago

Hello,

Thank you for sharing this script! I used your code to implement Qualtrics questions with Google Maps (a research project). However, it worked fine until it showed an error message (grey map box), "Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details." Would you happen to have any suggestions on how to proceed with this error?

Hope to hear back from you soon. Thank you!

pkmnct commented 11 months ago

Hey, please see the The map or autocomplete field search shows "This page can't load Google Maps correctly" or "For development purposes only" section of the readme.

Please respond back if you still are facing issues.

ratzbool commented 11 months ago

Hello - I seem to be having the same issue. I have checked the API Key is active and allowing access to the relevant APIs.

When I inspect the source code, I'm getting the following errors:

"This site overrides Array.from() with an implementation that doesn't support iterables, which could cause Google Maps JavaScript API v3 to not work correctly."

and

"Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"

I have been using this code successfully for the past two years, but all of a sudden it has stopped.

Its awesome code and I just hope there is a solution!

Thanks

jdarr19 commented 11 months ago

Hello, I am getting the exact same errors posted by ratzbool. The only advice online is to adjust how we are using Array.from(), however I do not know what we might be able to adjust in this code. The code was working just fine a few weeks ago when I was testing to build my upcoming survey. Any help would be appreciated, thanks again!

busbyethan commented 10 months ago

Same problem here, with the same results in the source code. I'm getting this problem with the newer, multi-location version and the older, single marker version. Any help or solution would be much appreciated.

jdarr19 commented 10 months ago

Hi all, if you are having the same issue as I am, you might try this solution posted on the Qualtrics forum: https://community.qualtrics.com/custom-code-12/loading-external-api-google-maps-no-longer-working-24549 It seems to be working at the moment for my current survey