jay.kapalczynski

Buffer Parameters

Discussion created by jay.kapalczynski on Jun 17, 2014
Latest reply on Jun 19, 2014 by jay.kapalczynski
Is there a way to set up Buffer Parameters to create a buffer that will start 2.5 miles out and go to 5 miles?
Maybe something like this?

params.distances = [ 2.5, 5 ];


Although the above selects everything in the 2.5 mile buffer...dosent seem to be working.


var params = new BufferParameters();
 params.geometries  = [ evt.mapPoint ];
 params.distances = [ 2.5 ];
 params.unit = GeometryService.UNIT_STATUTE_MILE;

BufferTool(map, params);  // Call BufferTool function and pass the Buffer Parameters

Outcomes