This sample uses the lat and long selectors parameters in the plugin to set the form fields to the coordinates selected.
Coordinate Picker
Long:
Lat: