<?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: SketchViewModel - tooltipOptions related documentation in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-tooltipoptions-related/m-p/1293108#M81257</link>
    <description>&lt;P&gt;Never mind, I found it by looking at tootipOptions in the debug mode to say totalLength: false. However, it seems the documentation of visibleElements property is missing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, I see there are few issues as well.&lt;/P&gt;&lt;P&gt;1) tooltip doesn't display if the activeTool is 'rectangle' or 'circle' or 'point' or 'multipoint'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) tooltip text is wrong if the mode: 'freehand' is selected. It displays 'Click on the map to start drawing'. However, it needs to be dragged to start drawing in this mode. Similar way, it's wrong tooltip text while ending the drawing in this mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone from ESRI confirm if these are already known bugs or any workarounds?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2023 16:24:13 GMT</pubDate>
    <dc:creator>BhavinSanghani</dc:creator>
    <dc:date>2023-05-25T16:24:13Z</dc:date>
    <item>
      <title>SketchViewModel - tooltipOptions related documentation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-tooltipoptions-related/m-p/1293105#M81256</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came across the following thread and it seems tooltipOptions related to 2D MapView was planned in 4.25 as per &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/994"&gt;@HeatherGonzago&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchlabeloptions-and-sketchtooltipoptions/m-p/1193247#M77959" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchlabeloptions-and-sketchtooltipoptions/m-p/1193247#M77959&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/432915"&gt;@SumitZarkarCT&lt;/a&gt;&amp;nbsp;has added the following code in this thread, it works fine with SketchViewModel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to hide Total length related text?&amp;nbsp;I don't see&amp;nbsp;&lt;SPAN&gt;visibleElements property related specification in the SDK documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#tooltipOptions" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#tooltipOptions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 15:44:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-tooltipoptions-related/m-p/1293105#M81256</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2023-05-25T15:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel - tooltipOptions related documentation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-tooltipoptions-related/m-p/1293108#M81257</link>
      <description>&lt;P&gt;Never mind, I found it by looking at tootipOptions in the debug mode to say totalLength: false. However, it seems the documentation of visibleElements property is missing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, I see there are few issues as well.&lt;/P&gt;&lt;P&gt;1) tooltip doesn't display if the activeTool is 'rectangle' or 'circle' or 'point' or 'multipoint'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) tooltip text is wrong if the mode: 'freehand' is selected. It displays 'Click on the map to start drawing'. However, it needs to be dragged to start drawing in this mode. Similar way, it's wrong tooltip text while ending the drawing in this mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone from ESRI confirm if these are already known bugs or any workarounds?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 16:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-tooltipoptions-related/m-p/1293108#M81257</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2023-05-25T16:24:13Z</dc:date>
    </item>
  </channel>
</rss>

