<?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 Please help - DynamicMapEnabled causes the base map to not paint properly. in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/please-help-dynamicmapenabled-causes-the-base-map/m-p/563728#M15190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a base map (MillersRanch.mxd) loaded in ArcDesktop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to add a dynamic layer on top of this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But as soon as I call&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI.ArcGIS.Carto.IMap map = ArcMap.Document.FocusMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var dynamicMap = map as IDynamicMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dynamicMap.DynamicMapEnabled = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The base map does not paint properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the scenario I have. I have a base map (MillersRanch.mxd).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32256[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as I call the above code to enable dynamic views. The ArcDesktop does not seem to paint properly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the picture below, the pipes and streets no longer paint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32257[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And if Zoom further, areas in the base map does not paint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32258[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug in the arcDesktop or the ArcObjects sdk?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had hacked apart my code. I am not even adding a dynamic&amp;nbsp; layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does adding a real dynamic layer fix this? It did not for me, and that is why I started looking for the minimal changes that cause the painting problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is one windows Server 2012.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2014 20:37:53 GMT</pubDate>
    <dc:creator>RickeyTom</dc:creator>
    <dc:date>2014-03-17T20:37:53Z</dc:date>
    <item>
      <title>Please help - DynamicMapEnabled causes the base map to not paint properly.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/please-help-dynamicmapenabled-causes-the-base-map/m-p/563728#M15190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a base map (MillersRanch.mxd) loaded in ArcDesktop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to add a dynamic layer on top of this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But as soon as I call&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI.ArcGIS.Carto.IMap map = ArcMap.Document.FocusMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var dynamicMap = map as IDynamicMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dynamicMap.DynamicMapEnabled = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The base map does not paint properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the scenario I have. I have a base map (MillersRanch.mxd).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32256[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as I call the above code to enable dynamic views. The ArcDesktop does not seem to paint properly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the picture below, the pipes and streets no longer paint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32257[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And if Zoom further, areas in the base map does not paint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32258[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug in the arcDesktop or the ArcObjects sdk?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had hacked apart my code. I am not even adding a dynamic&amp;nbsp; layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does adding a real dynamic layer fix this? It did not for me, and that is why I started looking for the minimal changes that cause the painting problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is one windows Server 2012.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 20:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/please-help-dynamicmapenabled-causes-the-base-map/m-p/563728#M15190</guid>
      <dc:creator>RickeyTom</dc:creator>
      <dc:date>2014-03-17T20:37:53Z</dc:date>
    </item>
  </channel>
</rss>

