<?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: How to Clone EncLayer in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-clone-enclayer/m-p/321947#M3812</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;ENC Layers are&amp;nbsp;currently only supported in 2D / MapView. However I could not see that information&amp;nbsp;in the documentation and I have submitted an issue for our doc team to add this note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2020 16:53:16 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2020-06-26T16:53:16Z</dc:date>
    <item>
      <title>How to Clone EncLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-clone-enclayer/m-p/321944#M3809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having issues creating a clone of an EncLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling .Clone on the EncLayer raises an InvalidOperation exception with the message "Cannot call this method in this context: ENC data sources cannot be cloned"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a context where this is possible or some other way to create the clone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WPF application with runtime 100.8 using VS2019 C#.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 12:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-clone-enclayer/m-p/321944#M3809</guid>
      <dc:creator>davidcuthbert</dc:creator>
      <dc:date>2020-06-24T12:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Clone EncLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-clone-enclayer/m-p/321945#M3810</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;Clone wasn't implemented for ENC Layer because it's a special layer type. Being&amp;nbsp;closely tied to the underlying ENC Cell data, the properties are get-only and are read from the data at runtime rather than being loaded into memory. Any override-able properties are controlled via the global&amp;nbsp;EncEnvironmentSettings object to ensure the display of all ENC content in the view is consistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you&amp;nbsp;tell us more about why you want to clone the layer? (perhaps we missed a use case in our design)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 17:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-clone-enclayer/m-p/321945#M3810</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-24T17:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Clone EncLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-clone-enclayer/m-p/321946#M3811</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;Thanks for the reply, I take it from the answer that there is no context in which Clone will work. OK, let me explain what our use case is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We give our users the ability to swap between the 2D and 3D maps (MapView and SceneView). Clone&amp;nbsp; is used to duplicate the layers in each view as they often can't be shared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were trying to do the same with the ENC layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have noticed in 3D view that not all the features show, so maybe showing this in 3D is not such a good idea anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 20:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-clone-enclayer/m-p/321946#M3811</guid>
      <dc:creator>davidcuthbert</dc:creator>
      <dc:date>2020-06-24T20:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Clone EncLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-clone-enclayer/m-p/321947#M3812</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;ENC Layers are&amp;nbsp;currently only supported in 2D / MapView. However I could not see that information&amp;nbsp;in the documentation and I have submitted an issue for our doc team to add this note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 16:53:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-clone-enclayer/m-p/321947#M3812</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-26T16:53:16Z</dc:date>
    </item>
  </channel>
</rss>

