We all know that bounds changed is called multiple times when we
fitbounds for example. I read that it has to do with tiles, that's why
its called multiple times.

So i would like to know if someone has any trick by keeping some kind
of counter/global var to simulate that bounds_changed is called only
once...

For example in the map's bounds_changed add listener function i will
have something like this somthing like:

if(!alreadyCalled) doThis();

Obviously i need some kind of temporary timer to clear that
alreadyCalled because its just for that particular bounds_changed
being called 2/3 times after each other...

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

Reply via email to