The GDirections, always reset the map? Is there any way to force it to mantaining the zoom level? Because if the user refreshes the map, the position and zoom will be reset every time...
Thanks! On 7 Set, 09:40, Björn Brala <[email protected]> wrote: > You can exclude the route from the clearing, this can only be done if you > remove the markers one by one, for this you have a reference array with all > your loaded markers. > > 2009/9/7 JuKiM <[email protected]> > > > > > > > > > Hello, > > > I would like to know how can the size of the icons be changed without > > cleaning the overlay and adding it agian... > > > I'm trying to make icons that take different sizes depending on the > > zoom of the map.. What I'm doing now is when the event zoomend is > > fired, I clean the overlay, and redraw the markers. > > > The problem is when I have a route displayed with GDirections.. > > Because it's load event reset the map and zoom. And when I change > > zoom, the zoomend event, makes the map to be cleared, and redraw > > again.. What makes the route to be loaded again, and the maps sets the > > initial zoom level... > > > How can I load the markers without needing to redraw all the map? > > > Thanks!! > > -- > Bjorn Brala > ----------------www.GeoStart.nl/english/- Google maps - Swis > Webdesignwww.twitter.com/bbrala- Amaga el text entre cometes - > > - Mostra el text citat - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
