I am using the API within a simple HTML-form-based survey for a
research project. I need people to be able to define a point, line or
area as an answer to one of the survey questions. I have given them a
radio-button choice of point, line or area, and a map to digitise on.

It all seems to be working perfectly except for one thing. When people
are in "point" mode, when they click on the map to place their point,
an additional marker is placed at the top left near the map control.
This positioning is consistent no matter what the map view:
* Whatever my view of the map (centre location and zoom level), when I
first click the rogue marker is placed by the map control,
specifically by the left-arrow.
* If I zoom in or out on the map after the marker has appeared, the
marker stays put relative to the map window, not its apparent lat/long
position.
* However if I drag the map after it has appeared, the marker stays in
its lat/long position and moves relative to the map window.
* If I zoom in after dragging, the marker stays put relative to (its
new position in) the window once more.

No rogue marker is placed in either Polyline or Polygon mode.

I can replicate this in IE7 and FF3.6

Survey: http://tinyurl.com/39g8juf

To assist those who might try and help, I have cut out the other
survey questions and the javascript related to things like form
validation, but retained all scripting related to the map. The problem
does persist so I am confident I have not inadvertently cut out
whatever is causing it.

Many thanks in advance to anyone who can assist!

-- 
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