Esri / arcgis-viewer-flex

Source code for ArcGIS Viewer for Flex - a great application framework for web applications.
http://links.esri.com/flexviewer
Apache License 2.0
134 stars 151 forks source link

Locator options in Directions Widget does not work. #170

Closed n-nakura closed 11 years ago

n-nakura commented 11 years ago

Hi,

'locatoroptions' tag in /widgets/Directions/DirectionsWidget.xml does not work.

/widgets/Directions/DirectionsWidget.mxml, line 120:

directionsGeocoderOptions.locatorOptions' = parseLocatorOptions(configXML.locatoroptions[0]);

The parameter of parseLocatorOptions method is wrong. It should be 'geocoderOptionsXML' instead of 'configXML':

directionsGeocoderOptions.locatorOptions = parseLocatorOptions(geocoderOptionsXML.locatoroptions[0]);

Related issue : #140

bsvensson commented 11 years ago

Good catch @n-nakura - thank you for submitting this :)