Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Maps Error #26

Open
apark27 opened this issue Sep 5, 2023 · 5 comments
Open

Google Maps Error #26

apark27 opened this issue Sep 5, 2023 · 5 comments

Comments

@apark27
Copy link

apark27 commented Sep 5, 2023

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
Copy link
Owner

pkmnct commented Sep 13, 2023

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
Copy link

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
Copy link

jdarr19 commented Sep 20, 2023

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
Copy link

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
Copy link

jdarr19 commented Nov 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants