Background:
- I have enabled maximized infowindows on a map.
- A single click in the infowindow toggles between maximized and
restored view.
- When restoring, the map is set to return to the saved position, like
so:

GEvent.addListener(cm_map.getInfoWindow(), 'maximizeclick', function()
{cm_map.savePosition();});
GEvent.addListener(cm_map.getInfoWindow(), 'restoreclick', function()
{cm_map.returnToSavedPosition();});

Now to the problem:
pretty often, that restoration is "jittery". The map seems to:
(1) first go from a maximized to a restored infowindow, which involves
some panning
(2) then jump back upwards (to the view before the restoration) and
then return to the saved position.

That "double restoration" has a jittery feel to it. I want the map to
return to the saved position in one smooth move. Any ideas?

note: if I change 'restoreclick' to 'restoreend' the jitter
disappears, but that has the drawback that the return is now done in
two separate moves and noticeable slower. I want one swift but non-
jittery move.
--~--~---------~--~----~------------~-------~--~----~
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