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

Update Required in Header #28

Open sadjad33 opened 10 months ago

sadjad33 commented 10 months ago

I've noticed that starting from fall 2023, the existing code is no longer functional. According to my research, the initial line in the header script should be updated to the following as of now:

<script async src="https://maps.googleapis.com/maps/api/js?v=3.53&libraries=places&key={API KEY}"></script>

However, it's important to note that this adjustment may become obsolete after April 2024. For more details and updates, please refer to the following resources:

  1. Community Qualtrics Forum
  2. Stack Overflow Discussion
ghost commented 10 months ago

Hey! I am facing the same issue. My map does not display, and my API works perfectly. By using your solution the map displays, but the location of the PIN is not recorded (I also tried single-line text and so on...). Also just one pin location, instead of two showing... How can we solve this?

Thanks!

sadjad33 commented 10 months ago

Hi there,

I'm happy to hear that your issue is now resolved! I must point out that it is not my solution, I just found it in the links I provided.

I've made a slight adjustment to the HTML script. Please use this updated code and paste it as the first line within the header script. This should definitively address the problem and allow you to collect data accurately. @pablomartinezalcaraz

ghost commented 10 months ago

Wow! Thanks a lot, it works perfectly 👍

purfikt commented 4 months ago

Is this still working for anyone? I cannot get the map to display. I have tried changing it to 3.57 also. No dice.