<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Editing - Adding new features in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/editing-adding-new-features/m-p/499391#M1540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, I'm trying to get the various tools that make up the JEditToolsPicker to work.&amp;nbsp; 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem I am having now is being able to create brand new features.&amp;nbsp; 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:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;JEditToolsPicker esriEditToolBar = new JEditToolsPicker(this.paramObj.mapPanel.esriJmapObj);
esriEditToolBar.setDrawingTool(DRAWING_TOOL.esriFeatureEditToolLine);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; I imagine I am missing something here.&amp;nbsp; Any suggestions, documentation, examples that I can use to get started with using the JEditToolsPicker object to create new features in my various layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, yes my layers are editable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2012 22:48:48 GMT</pubDate>
    <dc:creator>KevinNetherton</dc:creator>
    <dc:date>2012-05-30T22:48:48Z</dc:date>
    <item>
      <title>Editing - Adding new features</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/editing-adding-new-features/m-p/499391#M1540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, I'm trying to get the various tools that make up the JEditToolsPicker to work.&amp;nbsp; 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem I am having now is being able to create brand new features.&amp;nbsp; 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:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;JEditToolsPicker esriEditToolBar = new JEditToolsPicker(this.paramObj.mapPanel.esriJmapObj);
esriEditToolBar.setDrawingTool(DRAWING_TOOL.esriFeatureEditToolLine);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; I imagine I am missing something here.&amp;nbsp; Any suggestions, documentation, examples that I can use to get started with using the JEditToolsPicker object to create new features in my various layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, yes my layers are editable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 22:48:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/editing-adding-new-features/m-p/499391#M1540</guid>
      <dc:creator>KevinNetherton</dc:creator>
      <dc:date>2012-05-30T22:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Editing - Adding new features</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/editing-adding-new-features/m-p/499392#M1541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Click the Line button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does that work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 23:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/editing-adding-new-features/m-p/499392#M1541</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2012-06-13T23:09:29Z</dc:date>
    </item>
  </channel>
</rss>

