AnsweredAssumed Answered

How to get drive distance polygon with ServiceAreaTask?

Question asked by yo_haha on Jan 15, 2015

Hi,

 

I'm using an ArcGIS Online ServiceAreaTask to calculate drive-distance polygons. In the ServiceAreaParameters that I pass to ServiceAreaTask.solve(), there is an attribute named impedanceAttribute. In the API reference, it's explained that this attribute can take "Time" or "Length" as value: https://developers.arcgis.com/javascript/jsapi/serviceareaparameters-amd.html#impedanceattribute

When I switch between Time and Length, I get exacly the same polygons. I guess that impedence attribute isn't taken into consideration by the task.

I'm using ArcGIS Online services. So, I have no access to the Network.

Am I doing something wrong?

Outcomes