Google Maps Integration | XM Community
Skip to main content
Hello everyone,



I have made a map component that collects multiple geolocations in one question using React.

Please check it out and let me know if there's a request for a new feature.



https://github.com/keita-makino/qualtrics-map
@> @kemakino said:

> Hello everyone,

>

> I have made a map component that collects multiple geolocations in one question using React.

> Please check it out and let me know if there's a request for a new feature.

>

> https://github.com/keita-makino/qualtrics-map



Thank you for providing this kemakino.

I need to integrate google map to one of our surveys in Qualtrics. It requires respondents to drop a pin on certain location on the map, and the coordinates of these points to be stored as data output. Since I have no prior experience working with Java, is this possible for you to develop this variation of google map component on Qualtrics as well?
Hello @Mehdi,



I'm sorry for responding late to you. It was good for me if you could raise an issue on GitHub.

In short, you can follow the direction on the GitHub page to achieve what you mentioned (i.e, let users drop a pin or pins to get the latitude and longitude).

There should be no coding by yourself, as this is designed to help users not familiar with JavaScript :)



If you need more information, please let me know.

Thank you for this!


Hello kemakino ,

Thank you very much for this solution!
I am wondering whether it is possible to initialize the Google Maps location to my region, without being a good programmer myself?


Rudy It uses the country code and postal code in the metadata so that usually the map displays where the survey participant locates. If you didn't get it working, feel free to open an issue on GitHub.


kemakino Thank you for your response. I got it working in a different way 🙂 I searched for the map initialization coordinates in the bundle.js and changed those to the appropriate ones.


https://community.qualtrics.com/XMcommunity/discussion/comment/33248#Comment_33248Hi Rudy . Could you share what code in bundle.js you edited to accomplish this? Thank you!


Leave a Reply