Hi there. Just planning an application and I remember last time I did
something like this, there was a problem with the infowindow.

If I add a marker and then click on it to open the infowindow and then
I drag the marker somewhere else, the infowindow stays put.  I can
detect the start of the drag and hide the infowindow then "show" it
after the drag ends, but that doesn't change its position.

I intend to have some form fields in the infowindow and it might be
that the user has typed data into the formfields by the time the
marker is dragged so it's not acceptable to close the window and
reopen it unless I can save the contents of the infowindow prior to
closing it.

Is it a case of manually having to access the form field, save any
data, close the infowindow, reconstruct the contents and open the
infowindow again?

If so, seems a flipping long winded and antiquated way of dealing with
the situation... it should be possible for the infowindow to be opened
with a "stick to marker" parameter as the system knows which marker
caused the open event...  I see there is even a way to get the
location of the infowindow ("getPoint" - although even this seems to
be an anomaly now as the marker method has changed to "getLatLng") but
there appears to be no corresponding "setPoint" or "setLatLng" which
seems an oversight...

I appreciate that the experts like a map link to work with on
questions, but this isn't a specific project question yet, I'm just
referring to my notes from last time I did this and trying to find out
if the situation has improved since then (although from what I've seen
so far on the subject, it hasn't...)
-- 
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