<?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 in SceneView: why are symbols highlighted? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-in-sceneview-why-are-symbols/m-p/497646#M46268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;There is a workaround for this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;        // Listen to sketch widget's create event.
        sketch.on('create', (event) =&amp;gt; {
          // check if the create event's state has changed to complete indicating
          // the graphic create operation is completed.
          if (event.state === 'complete') {
            // this.identify(event);
            view.highlightOptions.haloOpacity = 1;
            view.highlightOptions.fillOpacity = 0.25;
          }
          view.highlightOptions.haloOpacity = 0;
          view.highlightOptions.fillOpacity = 0;
        });&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 21:52:25 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-11T21:52:25Z</dc:date>
    <item>
      <title>SketchViewModel in SceneView: why are symbols highlighted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-in-sceneview-why-are-symbols/m-p/497645#M46267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm implementing the sketch view model in order to simplify the drawing part of the application, and I wonder why is the symbol being highlighted during the drawing? I don't see anything like that in the 2D map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've setup the codepen&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/vajnorcan/pen/KKKwoZx" title="https://codepen.io/vajnorcan/pen/KKKwoZx"&gt;https://codepen.io/vajnorcan/pen/KKKwoZx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once it loads, just click the button and click and drag the mouse. You can see that the symbol is being highlighted, even though the default symbol doesn't have any halo around it (see the default symbols for the sketch view model&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#polygonSymbol" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#polygonSymbol"&gt;SketchViewModel | ArcGIS API for JavaScript 4.12&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I prevent the SketchViewModel features to be highlighted? Is that a bug or a feature?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 03:07:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-in-sceneview-why-are-symbols/m-p/497645#M46267</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-08T03:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel in SceneView: why are symbols highlighted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-in-sceneview-why-are-symbols/m-p/497646#M46268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;There is a workaround for this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;        // Listen to sketch widget's create event.
        sketch.on('create', (event) =&amp;gt; {
          // check if the create event's state has changed to complete indicating
          // the graphic create operation is completed.
          if (event.state === 'complete') {
            // this.identify(event);
            view.highlightOptions.haloOpacity = 1;
            view.highlightOptions.fillOpacity = 0.25;
          }
          view.highlightOptions.haloOpacity = 0;
          view.highlightOptions.fillOpacity = 0;
        });&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-in-sceneview-why-are-symbols/m-p/497646#M46268</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T21:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel in SceneView: why are symbols highlighted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-in-sceneview-why-are-symbols/m-p/497647#M46269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a feature indeed, in 3D you might sketch objects that get occluded by other features and then highlight is the way to see the entire shape of your&amp;nbsp;sketch when some parts are occluded.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you absolutely want to get rid of it, then I would go for Robert's solution. Not very nice, but the only one for now. We were discussing how to improve this behavior and one option would be to make the highlight more subtle. Would that work for you or would you just want to be able to turn it off?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 16:51:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-in-sceneview-why-are-symbols/m-p/497647#M46269</guid>
      <dc:creator>RalucaNicola1</dc:creator>
      <dc:date>2019-10-08T16:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel in SceneView: why are symbols highlighted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-in-sceneview-why-are-symbols/m-p/497648#M46270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raluca, thanks for the update and clarifying of what I suspected was intended behavior. I think it would be great if the developers have the option of turning this on/off on the sketch widget (sketch view model).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 00:09:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-in-sceneview-why-are-symbols/m-p/497648#M46270</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-09T00:09:23Z</dc:date>
    </item>
  </channel>
</rss>

