On 25 May 2011 18:25, Will Merydith <[email protected]> wrote: > > Is this possible with the Maps API and any suggested approach or > documentation link would be great. Thanks!
Anything's possible. Well, almost anything. In this case, add a listener for a map click which populates form fields (enabled, disabled or hidden entirely) with the location coordinates and enables the "Submit" button. Having a disabled button which is enabled only when you have the information you want makes it more difficult to submit incomplete information; and submitting the form will send those fields as well. Note that you can't rely on client-side validation, and need to check the data you receive rather than simply store it willy-nilly. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
