The interaction between the map and the form is restricted by
crossdomain restrictions of browsers.

There are some examples where the html content of the form iframe has
been copied in the map page html.
http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsforms/clickform.html

Now the form can be filled by javascript 'click' event on map. The
misbehavior takes place when you click the Submit button. You are
directed away from the map page to the form. I don't know any slick
way to handle that behavior.

I would suggest keeping the form iframe but making copy/pasting as
convenient as possible. Instead of separate lat and lng fields, you
can use a single latlng field. Get the value for copy/pasting by
clickPoint.toUrlValue(5).

That means a single spreadsheet column for latlng. Spreadsheet feed
gives you a latlng string you have to parse and convert to GLatLng.
There is a most convenient static fromUrlValue() method for that:

  var latLng = GLatLng.fromUrlValue(latlng)

I hope somebody has a better idea but that was the solution I chose in
one of my projects lately.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to