(Not Signed In)

Sign In

.NET Development: Silverlight Routing and RouteStop.Tag

Bottom of Page

1 to 2 of 2

  1.  
  1.  
    Hi,

    I am routing several routestops. Each stop is reverse geocoded from an object that holds an address. When I get the directions I can se on the Direction.IsArrival property that the current direction is one of the stops.

    But, I cannot know which object the stop corresponds to.

    I´ve tried setting the RouteStop.Tag property, but when I´m trying to read the tag property from ((Movement)Direction).stop.Tag the value cannot be read.

    Is there another way?
    • CommentAuthorwpearse
    • CommentTimeJan 28th 2010
     
    Each RouteStop should have a 'Location' property which is the latitude/longitude coordinates of the stop. Also, each Direction has a 'Location' property.

    Can you check if the RouteStop.Location equals the Direction.Location? If it does, then you know which stop is which direction?

1 to 2 of 2

  1.