I need a script that works exactly this way:
[login to view URL]
This will work from a pop-up dialog, the user will click and select a location. After clicking the finish (or cancel button), the user will return to my form. And the script should input the latitude and longitude from the script and place them into two input boxes.