<?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 Re: Sketch Widget 'visibleElements': no way to hide the first selection tool in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014745#M71321</link>
    <description>&lt;P&gt;It works pretty well. I integrated a buffer option into my sketch toolbar.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CustomSketchToolbar.png" style="width: 354px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3393iD0D3C62CA8C75571/image-size/large?v=v2&amp;amp;px=999" role="button" title="CustomSketchToolbar.png" alt="CustomSketchToolbar.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jan 2021 17:44:13 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2021-01-07T17:44:13Z</dc:date>
    <item>
      <title>Sketch Widget 'visibleElements': no way to hide the first selection tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014702#M71314</link>
      <description>&lt;P data-unlink="true"&gt;In the Sketch widget you can use the &lt;FONT face="inherit"&gt;&lt;A title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#visibleElements" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#visibleElements" target="_self"&gt;visibleElements property&lt;/A&gt; to hide certain tools. In the&lt;A title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#VisibleElements" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#VisibleElements" target="_self"&gt; type &lt;/A&gt;&lt;/FONT&gt;&lt;A title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#VisibleElements" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#VisibleElements" target="_self"&gt;definition&lt;/A&gt;&lt;FONT face="inherit"&gt;&lt;A title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#VisibleElements" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#VisibleElements" target="_self"&gt;&amp;nbsp;section of the documentation&lt;/A&gt;&amp;nbsp;it shows "lasso-selection" and "rectangle-selection" under '&lt;/FONT&gt;&lt;SPAN&gt;selectionTools' but it does not list the first selection tool (left-most on the toolbar, the simple selection one). Is there any way to hide this tool as well?&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Basically I only want some of the createTools to appear. Users of my application do not need to update graphics created with the sketch tool, in fact my application automatically removes the graphics after they are created. I am just using the sketch to get geometries for queries on a separate FeatureLayer.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;            const sketchWidget = new Sketch({
                layer: sketchLayer,
                view: view,
                creationMode: "single",
                visibleElements: {
                    createTools: {
                        point: false,
                        polyline: false, 
                        circle: false
                    },
                    selectionTools: {
                        "lasso-selection": false,
                        "rectangle-selection": false,
                    },
                    undoRedoMenu: false
                }
              });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 16:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014702#M71314</guid>
      <dc:creator>JamesGough</dc:creator>
      <dc:date>2021-01-07T16:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch Widget 'visibleElements': no way to hide the first selection tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014710#M71315</link>
      <description>&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;There is no option that. But you can hide it using css&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;      .esri-icon-cursor {
        display: none;
      }
      .esri-sketch__section:first-child{
        padding: 0;
        margin: 0;
      }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 17:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014710#M71315</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-01-07T17:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch Widget 'visibleElements': no way to hide the first selection tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014717#M71316</link>
      <description>&lt;P&gt;I just made my own sketch toolbar, similar to &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/cim-symbols/index.html" target="_self"&gt;this sample&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 17:06:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014717#M71316</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-01-07T17:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch Widget 'visibleElements': no way to hide the first selection tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014739#M71318</link>
      <description>&lt;P&gt;Thanks for the sample, I may end up doing this so that I can add some additional options.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 17:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014739#M71318</guid>
      <dc:creator>JamesGough</dc:creator>
      <dc:date>2021-01-07T17:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch Widget 'visibleElements': no way to hide the first selection tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014743#M71320</link>
      <description>&lt;P&gt;Thanks Robert, I'll keep that in mind.&amp;nbsp; I usually prefer not to override ESRI CSS rules like that.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 17:42:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014743#M71320</guid>
      <dc:creator>JamesGough</dc:creator>
      <dc:date>2021-01-07T17:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch Widget 'visibleElements': no way to hide the first selection tool</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014745#M71321</link>
      <description>&lt;P&gt;It works pretty well. I integrated a buffer option into my sketch toolbar.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CustomSketchToolbar.png" style="width: 354px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3393iD0D3C62CA8C75571/image-size/large?v=v2&amp;amp;px=999" role="button" title="CustomSketchToolbar.png" alt="CustomSketchToolbar.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 17:44:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-visibleelements-no-way-to-hide-the/m-p/1014745#M71321</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-01-07T17:44:13Z</dc:date>
    </item>
  </channel>
</rss>

