How to get drive distance polygon with ServiceAreaTask?

3076
0
01-15-2015 07:32 AM
ab1
by
Occasional Contributor II

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?

0 Kudos
0 Replies