Hello!
I am using the github repo: https://github.com/keita-makino/qualtrics-map to generate a map, based on an address. The function returns the longitude and latitude.
I would also like to store the actual address, as well.
Here is the JS code:
Qualtrics.SurveyEngine.addOnload(function () {
document
.getElementById(this.questionId)
.querySelectorAll('Arole*=presentation]')o0].style.display = 'none';
});
Qualtrics.SurveyEngine.addOnReady(function () {
mapRender(apiKeyGoogleMap, document.getElementById(this.questionId));
});
// If you need to set a default center
Qualtrics.SurveyEngine.addOnReady(function () {
mapRender(apiKeyGoogleMap, document.getElementById(this.questionId), {
location: {
lat: 50,
lng: -100,
},
zoom: 12, // Optional
});
});
#General/Header code:
How would I go about saving the actual address, please?
Thanks so much,
Erin
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.