VertiGIS Studio Web - sketching.edit-geometry
AnsweredHello,
I'm having a hard time controlling how the sketching.edit-geomtry operation works.
With the following Operation Parameter the only thing im able to do is move the whole object:
={"geometry":$myfeature.feature.geometry, "options": {"enableRotation": false,"enableScaling":false,"enableVertexEditing": true}}
Seems like "enableScaling" must be true to have the vertexes enabled.
What i want to do is to only be able to edit vertexes. And by the way is there no option equal to "enableMove"? I need to make sure users cant move objects.
Im using web 5.20 and workflow 5.25.2.
Cam Barnard Ken Lyon
Cheers,
Sindre
-
In GVH this is solved by editing Markup.js at C:\inetpub\wwwroot\Html5Viewer\Resources\Compiled
From this part:
"esri.toolbars.Edit.MOVE| esri.toolbars.Edit.EDIT_VERTICES|esri.toolbars.Edit.SCALE|esri.toolbars.Edit.ROTATE"
We have removed all parts except the "esri.toolbars.Edit.EDIT_VERTICES"0 -
Sindre Sellæg This is more about Web behavior than Workflow. I did a few quick tests and I'm seeing similar behavior to what you describe (i.e. if I disable scaling, I have no ability to edit vertices). Let me dig into it and get back to you here.
0 -
Sindre had asked me directly to investigate this. The product team have confirmed this is indeed a reproducible bug.
We've filed bug 198626 to describe this issue. Our intention right now is to get it fixed before 5.21 is released; however, it has NOT yet been fixed and merged so it is not guaranteed to be in 5.21 at this point.
We are currently targeting the first week of January for the VSW 5.21 release. I'm looking forward to this especially, as it'll have feature editing snapping.
You can watch our announcements community page as well as the documentation center VSW what's new section for product updates.2 -
As an update, this bug item has been fixed in the development branch of VSW 5.21.
2 -
Gareth Evans Great news! Does that include the ability to disable moving the whole geometry object as well?
0 -
Hey Cam Barnard,
Any thoughts on allowing to disable the ability to move geometries (Drag the whole object) with a additional EditGeometryOption?
For some of our customers this is critical in terms of moving from gvh to web.
Cheers,
Sindre0
Please sign in to leave a comment.
Comments
6 comments