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

Add zipcode output string? #19

Open Matt-Tarduno opened 3 years ago

Matt-Tarduno commented 3 years ago

Hi,

Thanks for developing this! I'm wondering if it is easy to modify the code to add the chosen point's zipcode to the output string for piping purposes.

Cheers, Matt

pkmnct commented 3 years ago

This would be possible, though you'd have to make an additional call to some API (looks like perhaps Google Maps Geocoder would do it) to get the zip code from the lat/long, as that data is not provided by the pin being placed on the map alone.