Lets say you have added several pushpins on your map. Interactively you can go to the map and select a pushpin and make it a route's start point, Stop point or end point and if it is a stop point you can schedule for how long you stop there.(note you can do this for each stop point). What i would like to know is if you can do this through code in other words after i create a pushpin i would like to tell it that it is a route's starting point,stop point or end point and also schedule stopping time for each stop point.
Your help on this is greatly appriciated.