<?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 Can Plot 3 Different Graphic Layers, but they will vanish if I pan to another area.  Is there a way to make them stick at all times? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-plot-3-different-graphic-layers-but-they-will/m-p/319751#M29454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone.&amp;nbsp; I posted in another thread, but wanted to be more specific.&amp;nbsp; I have three graphic layers set up for three feature layers.&amp;nbsp; The idea is to allow the user to perform a draw on the map until they are ready to post the graphic as an apply edits. The initial draw writes to the standard map.graphics layer and is cleared each time a new draw is performed.&amp;nbsp; I have this working and set up where a graphic layer draws after the edits are posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 03:20:43 GMT</pubDate>
    <dc:creator>IanPeebles</dc:creator>
    <dc:date>2016-12-07T03:20:43Z</dc:date>
    <item>
      <title>Can Plot 3 Different Graphic Layers, but they will vanish if I pan to another area.  Is there a way to make them stick at all times?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-plot-3-different-graphic-layers-but-they-will/m-p/319751#M29454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone.&amp;nbsp; I posted in another thread, but wanted to be more specific.&amp;nbsp; I have three graphic layers set up for three feature layers.&amp;nbsp; The idea is to allow the user to perform a draw on the map until they are ready to post the graphic as an apply edits. The initial draw writes to the standard map.graphics layer and is cleared each time a new draw is performed.&amp;nbsp; I have this working and set up where a graphic layer draws after the edits are posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 03:20:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-plot-3-different-graphic-layers-but-they-will/m-p/319751#M29454</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2016-12-07T03:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can Plot 3 Different Graphic Layers, but they will vanish if I pan to another area.  Is there a way to make them stick at all times?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-plot-3-different-graphic-layers-but-they-will/m-p/319752#M29455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying a different mode might solve your problem. &amp;nbsp;What happens if you refresh the feature layer (&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html#refresh" title="https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html#refresh"&gt;FeatureLayer | API Reference | ArcGIS API for JavaScript 3.18&lt;/A&gt;&amp;nbsp;) after the map extent has changed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 06:39:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-plot-3-different-graphic-layers-but-they-will/m-p/319752#M29455</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2016-12-07T06:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can Plot 3 Different Graphic Layers, but they will vanish if I pan to another area.  Is there a way to make them stick at all times?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-plot-3-different-graphic-layers-but-they-will/m-p/319753#M29456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You seem to be adding the graphic (after the Draw toolbar is done) to the map.graphics and a GraphicsLayer and the FeatureLayer at some point. This has me pretty confused. I get that you want to add the graphic to the FeatureLayer when the user is ready to save the graphic and you want to keep the FL invisible. But why are you adding the graphic to the map.graphics and a GL? You are clearing the map.graphics each time you are adding a new graphic so what is the point in adding them there? Are the GLs added to the map and visible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 15:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-plot-3-different-graphic-layers-but-they-will/m-p/319753#M29456</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-12-07T15:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can Plot 3 Different Graphic Layers, but they will vanish if I pan to another area.  Is there a way to make them stick at all times?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-plot-3-different-graphic-layers-but-they-will/m-p/319754#M29457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct.&amp;nbsp; Going to re-work this a bit and just work with the graphics layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 15:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-plot-3-different-graphic-layers-but-they-will/m-p/319754#M29457</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2016-12-07T15:35:15Z</dc:date>
    </item>
  </channel>
</rss>

