No markers get remove. I just tested:
removeAR.push(marker) map.addOverlay(marker); still no go... weird... I'm going to try using PaneManager.... On May 21, 12:14 pm, Arothian <[email protected]> wrote: > Do any of the markers get removed? > > It's possible that" > _removeTarget = marker; > removeAR.push(_removeTarget) > map.addOverlay(marker); > > should really be: > _removeTarget = marker; > removeAR.push(marker) > map.addOverlay(marker); > > On May 21, 1:37 pm, jord3t <[email protected]> wrote: > > > Im running it and for some reason it won't work. > > > I did see somewhere that zooming might affect the reference to the > > markers. But the strange thing is thta when i trace the markers out > > there are no more than on the stage and i do get "[object:marker]" for > > each one. > > > It's not a huge deal because I can store the overlay info and just > > clearOverlays and then redraw, but I don't like it because every > > redraw is a call to _dir.loadFromWaypoints to redraw the directions. > > > I'd prefer to leave the overlays for that in tact until I need to > > calculate a new route. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
