Hey, I'm trying to get the various tools that make up the JEditToolsPicker to work. I've managed to get the editing tools that allow me to set the selectable layers, select from the selectable layers, delete features, and edit the verticies of features.
The problem I am having now is being able to create brand new features. I figured out that when I create my JEditToolsPicker object i need to also include the following lines to be able to view the line feature creation tools:
JEditToolsPicker esriEditToolBar = new JEditToolsPicker(this.paramObj.mapPanel.esriJmapObj);
esriEditToolBar.setDrawingTool(DRAWING_TOOL.esriFeatureEditToolLine);
Now I can see the tools that should allow me to add lines, however when I click on those buttons and then try to define a new feature on the map, the map the map just moves as it normally would. I imagine I am missing something here. Any suggestions, documentation, examples that I can use to get started with using the JEditToolsPicker object to create new features in my various layers.
Hi Kevin. Click the Line button. Then, when beginning your sketch, try left-clicking once on the map, without holding it down, then move the mouse. The line should draw now as you move the mouse. Does that work?