Tony, What does your code for building the polyline look like?
Tony, Look at this sample.http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=MeasureDistance
distance(distanceParameters:DistanceParameters, responder:IResponder = null):AsyncTokenThe distance operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above).
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.