If you have your own API deployed on your server go to the file (https://js.arcgis.com/3.18/esri/dijit/editing/Editor.js - on your server ) and find:
function(a){return"esriGeometryPolygon"===a.geometryType&&a.visible&&a._isMapAtVisibleScale()}
To fix the bug with merging the above must be replaced with:
function(a){return a.geometryType&&a.visible&&a._isMapAtVisibleScale()}
For some reason Esri is checking if the geometry type is polygon before UNION function is used on the geometry server? WHY???
Removed "esriGeometryPolygon"===a.geometryType
Everything working as expected.
Hope this helps someone...
Any response from Esri on why line merging functionality has not been added to the Edit widget in webapp builder? Without this functionality we have to look to other options to enable people to use a web app to edit data.
It appears that this has either not yet been resolved, or there is currently a bug with this. I am unable to use the 'union' tool in the Editor widget to merge two line features into a single feature. Anyone have any information on a resolution to this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.