How to get drive distance polygon with ServiceAreaTask?

المشرف العام

Administrator
طاقم الإدارة
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 Javascript API and ArcGIS Online services. So, I have no access to the Network.

Am I doing something wrong?



أكثر...
 
أعلى