Dynamically update google map based on the answer provided

More
2 years 10 months ago #114807 by james45
james45 created the topic: Dynamically update google map based on the answer provided
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!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now