Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Dynamically update google map based on the answer provided

More
10 years 10 months ago #114807 by james45
Is it possible to update Google map (default latitude and longitude) based on the answer given by the user? The pre-defined longitude and latitude can be easily obtained by using simple java-script codes but how would I use that information to dynamically update the google map so that the map would be based on the new latitude and longitude each time a user supplies a new value.

For instance,
if a user writes "shop1" in a text field, then I would use onchange javascript event to get the latitude and longitude of shop1. Different shops will be assigned different latitude and longitude. Now, I want google map to show shop1 on google map based on that lat/long of shop1.

Any help will be greatly appreciated!

Thank you!
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose