Can I open a Google map using GPS coordinates on a form?

  • Profile Image
    msimpy
    Asked on April 01, 2015 at 01:06 PM

    I have a spreadsheet with 2 columns, 1 with about 200 names and the second has a GPS coordinate for each name.  The GPS coordinates are of exact meeting locations where the people named will be receiving an honor.   I would like to have a form with a series of drop downs sorted alphabetically where each person can select their name and on button press an individual Google map will open showing only that specified location. If necessary I can append the url https://www.google.com/maps/place/  to each GPS coordinate thus turning each into a full url?

    Is that possible? Thanks for the great work!! http://www.njrunforthefallen.org/

  • Profile Image
    BDAVID
    Answered on April 01, 2015 at 02:37 PM

    You could accomplish this using the Geolocation widgethttp://widgets.jotform.com/widget/geolocation, with the Drop Down field or the Auto Complete widgethttp://widgets.jotform.com/widget/autocomp

    However, this would required to download the full source code:

    And then do some JavaScript programming to output a value(Latitude and Longitude) to the widget:

    Let us know if you have more questions, we will be glad to assist you.

  • Profile Image
    msimpy
    Answered on April 01, 2015 at 03:03 PM

    Thanks - I'm wondering if there is an easier way!!   Let's say that I have 2 columns in my spreadsheet. the first has the names and the second has a link associated with each name, for example https://www.google.com/maps/place/39.383631, -74.529729

    Is there any way by selecting the appropriate name that on submit the form will pass the link and open it in a new browser window?

    Thanks for the help!!

  • Profile Image
    BDAVID
    Answered on April 01, 2015 at 03:46 PM

    You can accomplish this with conditional logic, click on Conditions, and select Change Thank You URL after Submission.

    There you can set condition like:

    Then repeat the steps to add the following name with it's URl, let us know if you need more help.

  • Profile Image
    msimpy
    Answered on April 01, 2015 at 03:53 PM

    Thank you - I will play with that and get back if I have any issues - thanks again!!