<?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 JavaScript API 4.1 StreamLayer not respecting purge options, bug? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-1-streamlayer-not-respecting/m-p/335524#M31012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I create a stream service and add features to it via simulators sending data to a GeoEvent processor I can see the features show up in a JavaScript API 4.1 app (i.e. the esri sample here: &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/layers-streamlayer/live/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-streamlayer/live/index.html"&gt;StreamLayer - 4.1&lt;/A&gt;&amp;nbsp;)&lt;BR /&gt;However, when I stop some of the simulators which then stop the feed for individual features, those features disappear after a second or two from the map.&amp;nbsp; I played with the purge options but that doesn't seem to make a difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, I've noticed that if I try the same sample in the JavaScript API 3.18 (i.e. here: &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/samples/layers_streamlayer/" title="https://developers.arcgis.com/javascript/3/samples/layers_streamlayer/"&gt;StreamLayer using ArcGIS API for JavaScript and ArcGIS Server Stream Service)&lt;/A&gt; however, when using that API, it does not remove the graphics from the map when stopping the feeds for individual features (which is what I expect).&lt;BR /&gt;&lt;BR /&gt;Has anyone else seen this behavior, or is this a bug in the 4.1 StreamLayer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2016 20:28:26 GMT</pubDate>
    <dc:creator>AveryPenniston</dc:creator>
    <dc:date>2016-12-05T20:28:26Z</dc:date>
    <item>
      <title>JavaScript API 4.1 StreamLayer not respecting purge options, bug?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-1-streamlayer-not-respecting/m-p/335524#M31012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I create a stream service and add features to it via simulators sending data to a GeoEvent processor I can see the features show up in a JavaScript API 4.1 app (i.e. the esri sample here: &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/layers-streamlayer/live/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-streamlayer/live/index.html"&gt;StreamLayer - 4.1&lt;/A&gt;&amp;nbsp;)&lt;BR /&gt;However, when I stop some of the simulators which then stop the feed for individual features, those features disappear after a second or two from the map.&amp;nbsp; I played with the purge options but that doesn't seem to make a difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, I've noticed that if I try the same sample in the JavaScript API 3.18 (i.e. here: &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/samples/layers_streamlayer/" title="https://developers.arcgis.com/javascript/3/samples/layers_streamlayer/"&gt;StreamLayer using ArcGIS API for JavaScript and ArcGIS Server Stream Service)&lt;/A&gt; however, when using that API, it does not remove the graphics from the map when stopping the feeds for individual features (which is what I expect).&lt;BR /&gt;&lt;BR /&gt;Has anyone else seen this behavior, or is this a bug in the 4.1 StreamLayer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:28:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-4-1-streamlayer-not-respecting/m-p/335524#M31012</guid>
      <dc:creator>AveryPenniston</dc:creator>
      <dc:date>2016-12-05T20:28:26Z</dc:date>
    </item>
  </channel>
</rss>

