Select to view content in your preferred language

Delete vertex not available when editing

1856
11
10-03-2011 12:57 AM
LukeEvans
Emerging Contributor
Hi,

I am using a heavily modified version of the Flex Viewer.  Whenever using an editor within our implementation I am unable to right click to delete a vertex.  I have tested this in the out of the box version and it works fine.  I cannot figure why this option would not be available to me.  I have 'allowDeleteVertices' set to true.  We use the EditTool rather than the Editor component.  Does anyone have any ideas as to why this option wouldn't be available in the context menu?

Thanks

Luke
Tags (2)
0 Kudos
11 Replies
MarkNewcomb
Emerging Contributor
Was this issue ever resolved?  If so, how?

I tried the suggestions above but nothing seems to work with EditTool and EditTool.activate doesn't have the enableGraphicsLayerMouseEvents parameter. 

When I activate EditTool, I lose the map.contextMenu and instead get the application ContextMenu over the map and therefore no Delete Vertex option.

When I deactivate EditTool, I get the map.contextMenu over the map again.  I believe that is due to setting enableGraphicsLayerMouseEvents to true when activating Pan.

How do I get the Delete Vertex using EditTool?

Thanks,

Mark
0 Kudos
MarkNewcomb
Emerging Contributor
I integrated my code with ArcGIS Viewer 3.0 for Flex and the problem is solved.

Mark
0 Kudos