Google Maps Integration | XM Community
Skip to main content

Google Maps Integration

  • October 28, 2019
  • 7 replies
  • 808 views

Forum|alt.badge.img+3
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

7 replies

  • 1 reply
  • January 14, 2020
@> @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?

Forum|alt.badge.img+3
  • Author
  • Level 1 ●
  • 5 replies
  • February 18, 2020
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.

Radam
Level 4 ●●●●
Forum|alt.badge.img+33
  • Level 4 ●●●●
  • 171 replies
  • June 17, 2020

Thank you for this!


  • 2 replies
  • December 16, 2020

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?


Forum|alt.badge.img+3
  • Author
  • Level 1 ●
  • 5 replies
  • December 28, 2020

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.


  • 2 replies
  • January 11, 2021

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.


Forum|alt.badge.img+5
  • Level 1 ●
  • 7 replies
  • November 6, 2021

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