Hi everyone,
I know this question has been raised before: https://community.qualtrics.com/XMcommunity/discussion/6738/google-maps-integration and https://community.qualtrics.com/XMcommunity/discussion/456/is-it-possible-to-add-a-map-interface-in-the-survey-for-example-google-maps
I have tried to add the code from those discussions to the question on Qualtrics but nothing is working (nothing happens after I follow the directions on the above linked discussion post) I was wondering if someone could provide a more detailed step by step instruction on how to do this? I'm talking down to the "click this button" then type "_" here and there; very thorough directions because I am slow and very bad at coding.
I am trying to ask a question in which the respondent will place a singular pin on a location on the map. That's really it. I just can't figure out how to make the code work.
Thank you all for your time, I really appreciate it!
If it is just a single static map, you could grab an image of it and make it a Heatmap question. It would be a lot easier.
@TomG
Thanks for your reply! I do need the coordinates from the point that they drop so I can calculate a distance from the point they drop to something else. It can’t be a heat map.
Hi there, I would echo TomG's recommendation. Heatmap's do produce X and Y coordinates, measured in pixels. While not exactly Latitude and Longitude, the Heatmap coordinates would work nicely for approximations.
If you need to use GoogleMaps, I would just be sure that you are following the directions exactly as described in keita-makino's github, including the obtaining of API keys and step 4 in the Header settings: "Copy and paste the following code, replacing the [apiKey] and [fileUrl] with respectively the API key and the URL of bundle.txt."
https://github.com/keita-makino/qualtrics-map
Also, I found another implementation that I was able to get mostly working on my end, still be sure to obtain and update the API key where necessary.
https://github.com/pkmnct/qualtrics-google-map-lat-long
https://developers.google.com/maps/documentation/javascript/get-api-key
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.