Ability to Edit ESRI Multipoint Geometry Type

327
1
10-31-2023 11:15 AM
Status: Open
JwHayes
New Contributor III

We really need the ability to edit ESRI Multipoint Geometry Type via the Editor Widget in the JavaScript 4.x SDK. This was never available in the JavaScript 3.x API.

This would be very helpful to my organization. We keep several authoritative enterprise feature classes in the multipoint geometry type. Many of our data entry people use web applications. Their inability to edit multipoint features via web apps like WAB and now Experience Builder is a major roadblock for our workflows.  

Example of our use case; we track road projects in a line feature class and a multipoint feature class. The multipoint feature class are for project that have one project number but may have several discrete locations, like curb ramps. 

Thx!

 

1 Comment
MichaelLev

I suggest you walk by these steps:

1. Display the multipoint geometry types via graphic layer (which you'll attach to the sceneView) whose elevationInfo property you'll set to "on-the-ground".

2. Use SketchViewModel whose layer property you'll set to the above graphic layer, and whose  defaultUpdateOptions you'll set thus:

    defaultUpdateOptions: {
        tool: "reshape",
        enableRotation: false,
        enableMoveAllGraphics: false,
        enableScaling: false,
        reshapeOptions: {
            shapeOperation: "none"
        },
        toggleToolOnClick: false
    }