I have used the Find a Route program and it works great. But I want to have a clear button so that when you click on it the old stops and path are deleted. I have used onclick = "map.graphics.clear();" and that does appear to remove the stops and path, however, after I clear the graphics, I click on a new stop and a path is drawn from the last stop from the "cleared" route to the new stop. Apparently I am not clearing out (deleting) the last stop. Can anyone tell me how to do this? Thanks.