Select to view content in your preferred language

Direction widget+display unit

439
1
Jump to solution
10-25-2013 10:24 PM
anjelinaponker
Emerging Contributor
Hi
I,m using "Direction widget" of flex 3.3, but I have problem with length unit in results. Why all results are in mile? I need kilometers . what should I do?
please help me
Regards
A.ponker
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Anjelina,

    If you read the documentation you will find that all you need to do is add <directionslengthunits>kilometers</directionslengthunits> to your DirectionsWidget.xml

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Directions_widget_tags/01m30000...

<routeoptions>     <directionslengthunits>kilometers</directionslengthunits> </routeoptions>

View solution in original post

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Anjelina,

    If you read the documentation you will find that all you need to do is add <directionslengthunits>kilometers</directionslengthunits> to your DirectionsWidget.xml

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Directions_widget_tags/01m30000...

<routeoptions>     <directionslengthunits>kilometers</directionslengthunits> </routeoptions>
0 Kudos