How to run a Network Service Area task
Within my workflow, I have used the RouteTask activity to help generate routes but now I'm wondering how I could generate a Service Area (polygon created from driving distance) in my Silverlight Application. Does anyone have any experience with this? Many thanks
-
Hi Josh,
The Route Task in Workflow will return results of type (http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.RouteEventArgs.html) RouteEventArgs . This result contains ServiceAreaPolygons as a graphic, so you could use a RunExternalCommand activity, set the command to "AddMarkup", and set the parameter to routeResult.ServiceAreaPolygons.Geometry(), where routeResult is the variable holding the result of the Route Task.
-Victoria
0 -
Can you please share the workflow with us 0
Please sign in to leave a comment.
Comments
2 comments