AnsweredAssumed Answered

Can I eliminate the redundant points after running GeometryService.simplify?

Question asked by stephenlam1988 on Aug 4, 2014
Latest reply on Aug 4, 2014 by riyasdeen_b

I am trying to implement a buffer zone search, after I read this, using GeometryService.simplify

gsvc.simplify([evt.geometry], function (geometries) {

      params.geometries = geometries;

      gsvc.buffer(params, showBuffer);



I successfully get a buffered geometry, say rectangle, however the returned geometry has a lot of vertex at the corners, so it is inconvenient to modify the shape...Is it possible to just get a "4 points rectangle" with buffered size? Thanks.