Hi all,
I am using a feature service (polygons). I am able to select by draw to select the polygons I want. When I am done, I would like to allow users to dissolve the boundaries of the selected geometry. Is it possible with the dissolve widget? or can I achieve this in the Javascript API 3.x or 4.x?
Thanks,
Alex
Solved! Go to Solution.
Alex,
A call to the JS API GeometryService Union method sounds like what you are after:
GeometryService | API Reference | ArcGIS API for JavaScript 3.18 | Union
Alex,
A call to the JS API GeometryService Union method sounds like what you are after:
GeometryService | API Reference | ArcGIS API for JavaScript 3.18 | Union
Thanks Robert, I am wondering if that Union behaves the same way as the union tool in ArcMap? If it does it is not really going to create 1 polygon (each feature will keep their boundaries) from the selected polygons like the dissolve tool would.
Alex,
No I believe that the Geometry Service Union is more like the dissolve (as far as creating one geometry).
Alright I will give it a shot! Thanks Robert!