(Not Signed In)

Sign In

.NET Development: Silverlight - Routing in meters and languages

Bottom of Page

1 to 2 of 2

  1.  
  1.  
    I´m trying out routing in my Silverlight application and everything works fine, but I have a few questions.

    Once my route is calculated I can call direction.GetDistance(DistanceUnit.KILOMETERS) and this returns the distance in kilometers. But in the direction.Instructions property the distance is sometimes written and it is still in yards. Can I set DistanceUnit on the route somehow?

    Second, Is it possible to translate the directions to another language from some resourcefile?
    •  
      CommentAuthorPepitaL
    • CommentTimeJan 26th 2010
     
    Hi Truls,

    At the moment, the DistanceUnit in the driving directions text cannot be set. It is actually a mistake in the code that will be fixed in the next release. Thanks for finding this bug.

    Regarding language, unfortunately, the internationalization of the directions is not available for now.

    Pepita

1 to 2 of 2

  1.