Recently I got into a tricky situation since I want determined the even trigger by Human or automatically by the API, For example the automatically setCenter, zoom in and out. The map should keep on doing that base on the number of markers adding in or changing position every minute (position keep updating from the database). But for instance a user want to just monitor on a specific marker and he just try to zoom in for that marker or drag the map to follow the movement of the marker and the automatically zoom in and out base on total markers existed on man should disable. Both these scenarios will trigger the event zoomed or move if there are listeners no matter by whom(“Human” or “javascript”) and it hard to distingue. What I did to solve that situation is create a switch variable which will turn true when the javascript execute automatically functions and turn back to false right after that �� the remain actions should considered active by human, but it’s not give me proper results all the time especially on IE since it done some mysterious zooming or padding out of the true/false lock without the need of its in some ways (work almost correct in Moz ). So there is a way to solve this ? ( I can’t post the link to the site since I’m working on localhost and testserver of my company which require a lot of other functions for the site to work properly). Sorry for this inconvenient situation.
regards --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
