Hi everybody, I need a little help. I´m developing a site with de google maps for flash using XML to load the markers. I´m using a Slider component to change the current marker in the map. What I want to do is:
1- when I change the position of the slider component, it changes the marker position in the map (this is working fine); 2- if the next marker that I plot in the map is inside the same viewport of the last marker I want the map doesn´t change the center of the map. 3- if the next marker that I plot in the map is outside the last marker ´s viewport, than I want the map reloads with the new marker with the new viewport centered. I know what I want to do, but I don´t know how to do. I know that I need to find the bounds of the viewport of the current marker, but I don´t know how to test if the new marker is inside this viewport and plot it in the map without change the center. Anyone has an ideia how to do this? Thanks, Luciano Fernandes --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
