On Jul 30, 12:05 pm, Dave_Tenen <[email protected]> wrote: > As I edit the directions table style step-by-step once receiving each > step...
GLog: > 11:58:22:386onGDirectionsAddOverlay() > 11:58:22:401removing 0 markers > > After the second 'get directions'; > 11:58:37:948onGDirectionsAddOverlay() > 11:58:37:948removing 0 markers > 11:58:38:026onGDirectionsAddOverlay() > 11:58:38:026removing 0 markers > > It just doesn't want to get the point where it will process the > Gdirectionsmarkerand then remove + replace the markers. > ... > I'm positive it won't even get up to > this line; > map.removeOverlay(newMarkers[i]); > } I have no issues with getting directions, displaying directions in a customised table (step by step) but when it gets to displaying the custom markers it won't remove the old and replace with the new ones. I'm just wondering what I'm doing wrong. Surely I can copy and paste your code and work the rest around it, but I'd rather learn and understand how to implement it around my existing code. Eg: Why is it not displaying the complete GLog like in your example? Is it seeing 0 markers and exiting the loop? etc... I'll revise your code again in the morning and try and figure out wha my mistakes are. Thanks - your help is very much appreciated. Dave --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
