AnsweredAssumed Answered

Get buffer distance from multiple buffer results

Question asked by askewwa on Mar 4, 2015
Latest reply on Mar 5, 2015 by askewwa

Can someone point me in the right direction of how to return the distances of each individual buffer when it is created using more than one distance in the params.distances parameter.  I am currently generating multiple buffers at the same time from an input array specifying the distances.  After these buffers are generated, I am having a hard time returning the individual distances of the buffers.

I have tried returning them from the params array for each graphic by the following:

 

1)  alert(params.distances[0]);

 

2)  for(var i=0; i<paramsBuffer.distances.length); i++){

          alert(params.distances[i]);

     };

 

Neither of these will properly return the distance of the individual resulting buffer graphics.  An example of what I am trying to do is return the distances of the two buffers generated in this example:  ArcGIS API for JavaScript Sandbox .  Any help is greatly appreciated.

Outcomes