<?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 Active Graphic Highlight Effect in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272554#M25146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Undral. Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/index.html"&gt;Sketch in 3D | ArcGIS API for JavaScript 4.13&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this sample when you create a route, building, or POI in addition to the white coloring of the graphic itself there is a light blue highlight effect around the graphic being created or edited. Is it possible to change that highlight effect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Nov 2019 22:46:37 GMT</pubDate>
    <dc:creator>MichaelDenholtz</dc:creator>
    <dc:date>2019-11-22T22:46:37Z</dc:date>
    <item>
      <title>SketchViewModel Active Graphic Highlight Effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272552#M25144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When creating or updating a graphic using the SketchViewModel there is a teal highlight on that graphic that remains visible even if the graphic's visible property is set to false. Can the highlight effect be modified in any way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 18:51:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272552#M25144</guid>
      <dc:creator>MichaelDenholtz</dc:creator>
      <dc:date>2019-11-22T18:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel Active Graphic Highlight Effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272553#M25145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not be able to select a graphic that is not visible. I am not completely clear on your workflow. Can you please create a simple test app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 22:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272553#M25145</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2019-11-22T22:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel Active Graphic Highlight Effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272554#M25146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Undral. Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/index.html"&gt;Sketch in 3D | ArcGIS API for JavaScript 4.13&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this sample when you create a route, building, or POI in addition to the white coloring of the graphic itself there is a light blue highlight effect around the graphic being created or edited. Is it possible to change that highlight effect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 22:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272554#M25146</guid>
      <dc:creator>MichaelDenholtz</dc:creator>
      <dc:date>2019-11-22T22:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel Active Graphic Highlight Effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272555#M25147</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;Any information on this? Is it still unclear what I'm referring to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 23:24:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272555#M25147</guid>
      <dc:creator>MichaelDenholtz</dc:creator>
      <dc:date>2019-11-25T23:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel Active Graphic Highlight Effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272556#M25148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just saw your question. I am sorry for not replying sooner. Tagging our 3D expert here. &lt;A href="https://community.esri.com/migrated-users/248861"&gt;Raluca Nicola&lt;/A&gt;‌.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 16:25:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272556#M25148</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2019-12-03T16:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel Active Graphic Highlight Effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272557#M25149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for missing your question Michael, currently you can change the style or remove the highlight by setting &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#highlightOptions"&gt;highlightOptions&lt;/A&gt; on the view. Be aware though that these are set globally. We want to change this behavior for the future but we're still in the design phase. Could you give us more info on why do you want to change it? Is it because of the color, or does is it obscure the original object too much? That would help us to design the new behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's just about the bug you mentioned where the&amp;nbsp;graphic becomes invisible but it still keeps the highlight, then we fixed that for 4.14.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 17:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272557#M25149</guid>
      <dc:creator>RalucaNicola1</dc:creator>
      <dc:date>2019-12-03T17:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel Active Graphic Highlight Effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272558#M25150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raluca and Undral for the responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to draw&amp;nbsp;a rectangle on a scene view that has a top and bottom&amp;nbsp;that are parallel to the equator. The &lt;SPAN&gt;SketchViewModel&amp;nbsp;&lt;/SPAN&gt;draws rectangles which are at an angle&amp;nbsp;that seems to depend on the camera view. So, my hacky workaround is to hide the graphic being created by the SketchViewModel, capture the extent of the hidden graphic, and use that extent to draw my own graphic with geometry based on that extent, which looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;polygon&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;type:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'polygon'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;rings:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; "&gt;xmin&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;ymin&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;xmax&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;ymin&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;xmax&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;ymax&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;xmin&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;ymax&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;xmin&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;ymin&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the&amp;nbsp;&lt;SPAN&gt;SketchViewModel draws rectangles at an angle I'm able to draw more precisely by capturing the extent of a hidden polyline. Unfortunately, even when the polyline itself is hidden I can still see the highlight effect around the&amp;nbsp;segment that is currently being drawn.&amp;nbsp;In this&amp;nbsp;&lt;A href="https://codepen.io/surplusyogurt/pen/rNaVxBm?&amp;amp;editable=true&amp;amp;editors=100"&gt;pen&lt;/A&gt; I've configured the polyline symbol layers&amp;nbsp;and highlight effects to be transparent but the "Draw a route" option still has a faint blue hightlight effect for the current segment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 23:59:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/272558#M25150</guid>
      <dc:creator>MichaelDenholtz</dc:creator>
      <dc:date>2019-12-04T23:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: SketchViewModel Active Graphic Highlight Effect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/1229337#M79254</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/38774"&gt;@RalucaNicola&lt;/a&gt;&amp;nbsp;, I'm still not able to modify the colour of the highlight graphic through the highlightOptions when using Sketch widget to update a graphic. e.g in the example below I want to change the blue colour to something else but not able to. Where is this graphic store in the map layers? I had look through all the layers but couldn't find the internal layer that the sketch is using.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AliSultani_0-1667855183880.png" style="width: 786px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55442i10442831081A0AFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AliSultani_0-1667855183880.png" alt="AliSultani_0-1667855183880.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 21:08:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketchviewmodel-active-graphic-highlight-effect/m-p/1229337#M79254</guid>
      <dc:creator>AliSultani</dc:creator>
      <dc:date>2022-11-07T21:08:24Z</dc:date>
    </item>
  </channel>
</rss>

