<?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: Show in another color new features on layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127599#M11803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another solution would be to add those new features to a separate graphic layer and symbolize them differently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2017 18:02:09 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2017-05-12T18:02:09Z</dc:date>
    <item>
      <title>Show in another color new features on layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127597#M11801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i want to know if there is a way to show (in another color) new features on a layer that is being updated.&lt;/P&gt;&lt;P&gt;So far i have found in the API for JS a event in the Dynamic and Feature Layer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;myDynamicMapServiceLayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;on&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"update-start"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;us&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"is refreshing to show me updates?"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;us&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, once i have been added the feature layer or dynamic service (in my case is a dynamic one) i want to put all the features that im showing in a certain color (lets say blue and they are 100 at the beginning).&lt;BR /&gt;Afterwards, i want to put a glow on the one that are new in the place where they appear. Or have them as a data in a new table.&lt;BR /&gt;&lt;BR /&gt;Is there a way to do that?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:13:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127597#M11801</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2021-12-11T07:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Show in another color new features on layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127598#M11802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no code to share but, thinking aloud, how about using a renderer based on OBJECTID values? When you start an edit session, determine what the maximum OBJECTID is at the time you start editing and assign it to a variable (call it curMaxOID). Once the edit sesssion is over, create a renderer where OBJECTIDs &amp;lt;= curMaxOID is symbolized using one color and OBJECTID &amp;gt; curMaxOID uses another color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might not be a great solution for a layer with a lot of features, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 17:57:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127598#M11802</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2017-05-12T17:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show in another color new features on layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127599#M11803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another solution would be to add those new features to a separate graphic layer and symbolize them differently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 18:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127599#M11803</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2017-05-12T18:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show in another color new features on layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127600#M11804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well its like the objectid for that layer is not secuential. I was thinking about on save the prev state of the features that i have and then each time when the update-start on the layer see the differences between the old state and the new one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 15:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127600#M11804</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2017-05-17T15:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show in another color new features on layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127601#M11805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually thinking in a not code based solution. I can just simply add a timing on the layer showing a diff kind of symbol when the feature is just added , and then change it again when the feature completes 1 min.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 15:06:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/show-in-another-color-new-features-on-layer/m-p/127601#M11805</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2017-05-17T15:06:24Z</dc:date>
    </item>
  </channel>
</rss>

