DissolveBoundaries - Using javascript API

07-24-2019 08:48 AM
New Contributor


I am new to ESRI JS API.I am trying to dissolve boundaries(DissolveBoundaries | API Reference | ArcGIS API for JavaScript 3.29 ) group by a single field name.

Using Analysis web tool yes i can.But same thing i am trying to achieve in JS programming on the fly.

I have a feature layer with all county information.Out of this i want dissolve on single field-name.I could't see any example/sample related with this in any forum.

Below is part of my program snippet,

var dissolveBoundaries = new DissolveBoundaries({
inputLayer: featureLayer,
dissolveFields: ["fileld3"],
map: map,
portalUrl: "https://[mydomain].arcgis.com"
}, "viewDiv");

It simply append Anlalysis tool widget in "viewDiv" as inner html.

Appreciate your timely help.

0 Kudos
0 Replies