On Aug 1, 1:52 am, William <william.g...@gmail.com> wrote: > On Jul 12, 1:40 am, bratliff <bratl...@umich.edu> wrote: > > > Can someone from Google please explain why an "OverlayView" "idle" > > method in V3, IF IT EXISTS, is not ALWAYS called automatically at the > > completion of EVERY drag / pan / zoom. > > The MarkerClusterer source code has got an implementation of an idle() > method, as if it was part of the OverlayView interface, but looking at > the documentation OverlayView doesn't have an idle() method. Was it > ever part of the official interface? > > snippet from the source:
I am looking for something similar to the V2 redraw method with "force=false". It is called automatically if map movement might require the GOverlay to be updated. It occurs very infrequently. It is easy to bypass if nothing has occurred. It does not require an explicit event handler for every instance of the GOverlay subclass with inherent memory leak issues. I am suggesting a V3 "idle" method in addition to the "draw" method with dummy prototype method in case it is not overriden. Google claims "too much overhead" which cannot be justified. It is difficult to imagine an OverlayView doing anything useful without having an explicit event handler. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.