<?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 Add text label to widget button in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-text-label-to-widget-button/m-p/1401639#M84141</link>
    <description>&lt;P&gt;Is there a way to display a label next to the widget in the View UI? For instance I would like to place text that says "Draw an outline" that is anchored to the button here. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;view.when(() =&amp;gt; {&lt;BR /&gt;const sketch = new Sketch({&lt;BR /&gt;layer: graphicsLayer,&lt;BR /&gt;view: view,&lt;BR /&gt;creationMode: "update",&lt;BR /&gt;snappingOptions: {&lt;BR /&gt;enabled: true,&lt;BR /&gt;featureSources: [&lt;BR /&gt;{ layer: graphicsLayer, enabled: true },&lt;BR /&gt;{ layer: rafterGraphicsLayer, enabled: true },&lt;BR /&gt;],&lt;BR /&gt;},&lt;BR /&gt;tooltipOptions: { enabled: true },&lt;BR /&gt;labelOptions: { enabled: true },&lt;BR /&gt;visibleElements: {&lt;BR /&gt;createTools: {&lt;BR /&gt;point: false,&lt;BR /&gt;rectangle: false,&lt;BR /&gt;polyline: false,&lt;BR /&gt;polygon: true,&lt;BR /&gt;circle: false,&lt;BR /&gt;},&lt;BR /&gt;selectionTools: {&lt;BR /&gt;"lasso-selection": false,&lt;BR /&gt;"rectangle-selection": false,&lt;BR /&gt;},&lt;BR /&gt;settingsMenu: false,&lt;BR /&gt;undoRedoMenu: false,&lt;BR /&gt;duplicateButton: false&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;view.ui.add(sketch, "top-right");&lt;BR /&gt;})&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2024 19:15:24 GMT</pubDate>
    <dc:creator>JasonJordan00</dc:creator>
    <dc:date>2024-03-27T19:15:24Z</dc:date>
    <item>
      <title>Add text label to widget button</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-text-label-to-widget-button/m-p/1401639#M84141</link>
      <description>&lt;P&gt;Is there a way to display a label next to the widget in the View UI? For instance I would like to place text that says "Draw an outline" that is anchored to the button here. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;view.when(() =&amp;gt; {&lt;BR /&gt;const sketch = new Sketch({&lt;BR /&gt;layer: graphicsLayer,&lt;BR /&gt;view: view,&lt;BR /&gt;creationMode: "update",&lt;BR /&gt;snappingOptions: {&lt;BR /&gt;enabled: true,&lt;BR /&gt;featureSources: [&lt;BR /&gt;{ layer: graphicsLayer, enabled: true },&lt;BR /&gt;{ layer: rafterGraphicsLayer, enabled: true },&lt;BR /&gt;],&lt;BR /&gt;},&lt;BR /&gt;tooltipOptions: { enabled: true },&lt;BR /&gt;labelOptions: { enabled: true },&lt;BR /&gt;visibleElements: {&lt;BR /&gt;createTools: {&lt;BR /&gt;point: false,&lt;BR /&gt;rectangle: false,&lt;BR /&gt;polyline: false,&lt;BR /&gt;polygon: true,&lt;BR /&gt;circle: false,&lt;BR /&gt;},&lt;BR /&gt;selectionTools: {&lt;BR /&gt;"lasso-selection": false,&lt;BR /&gt;"rectangle-selection": false,&lt;BR /&gt;},&lt;BR /&gt;settingsMenu: false,&lt;BR /&gt;undoRedoMenu: false,&lt;BR /&gt;duplicateButton: false&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;view.ui.add(sketch, "top-right");&lt;BR /&gt;})&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 19:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-text-label-to-widget-button/m-p/1401639#M84141</guid>
      <dc:creator>JasonJordan00</dc:creator>
      <dc:date>2024-03-27T19:15:24Z</dc:date>
    </item>
  </channel>
</rss>

