Using the Google Maps Plugin as an input

I’d like to use the map as an input, allowing the user to select a location and have that come in as a form field when they click Submit. Is that possible?