I have understood the problem better. Here's the sequence of events that
happens
1. viewport div, lets call it ORIGIN is set to (0,0) for top left corner of
the map
2. marker is created at say (100,100) and shows up inside the viewport
3. user pans east, and as a result ORIGIN is set to (-500,0) for example.
4. user pans more east, and ORIGIN is set to (-700,0) for example.
5. user pans yet 300 pixel more to the east, and the following happens
5.1 ORIGIN is set again to (0,0)
5.2 marker.draw() is called, which computes to be draw at the new
position of (-900,0)
The flicker happens between 5.1 and 5.2, because the marker is still drawn
at the old position of (100,100), but the frame of reference already
changed.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/a71REHPeZQYJ.
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.