I need a script that works exactly this way:
[url removed, login to view]
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.