<?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 Suspend map drawing in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suspend-map-drawing/m-p/711191#M18270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to disable (or suspend) the map drawing during a moment? By example, if I unselect 500 elements of 1000 elements for a GraphicsLayer, that operation is very long (there's severa refresh).&amp;nbsp; May be, a workaround is to set the GraphicsLayer not visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An another example is if I add some layers (like 10) in map control, could I disable drawing to avoid to add to much redraw for each add?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best pattern?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steeve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2011 13:21:35 GMT</pubDate>
    <dc:creator>SteeveCouture</dc:creator>
    <dc:date>2011-10-19T13:21:35Z</dc:date>
    <item>
      <title>Suspend map drawing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suspend-map-drawing/m-p/711191#M18270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to disable (or suspend) the map drawing during a moment? By example, if I unselect 500 elements of 1000 elements for a GraphicsLayer, that operation is very long (there's severa refresh).&amp;nbsp; May be, a workaround is to set the GraphicsLayer not visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An another example is if I add some layers (like 10) in map control, could I disable drawing to avoid to add to much redraw for each add?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best pattern?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steeve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 13:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suspend-map-drawing/m-p/711191#M18270</guid>
      <dc:creator>SteeveCouture</dc:creator>
      <dc:date>2011-10-19T13:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Suspend map drawing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suspend-map-drawing/m-p/711192#M18271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using Draw class as shown in this SDK sample? &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#DrawGraphics"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#DrawGraphics&lt;/A&gt;&lt;SPAN&gt;. If yes, Draw.IsEnabled=False or Draw.Mode=DrawMode.None will disable draw.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 17:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suspend-map-drawing/m-p/711192#M18271</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-10-19T17:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Suspend map drawing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suspend-map-drawing/m-p/711193#M18272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, sorry.&amp;nbsp; I don't talk about the Draw object.&amp;nbsp; I mean to suspend the Map refresh when I change the Graphic element state (like Selected property) in GraphicsLayer. An another example if I remove 500 Graphics from GraphicsLayer (total count is 1000), it's very long because I thought there's lot Map refresh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm perhaps not clear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steeve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 18:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suspend-map-drawing/m-p/711193#M18272</guid>
      <dc:creator>SteeveCouture</dc:creator>
      <dc:date>2011-10-19T18:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Suspend map drawing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suspend-map-drawing/m-p/711194#M18273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of the API are you using? Can you share some code and steps to reproduce this? I don't understand why selecting/deselecting graphics from GraphicsLayer will cause a re-draw on the map. Could you perhaps been calling layer.Refresh() in your code? Map triggers layer.Draw when pan/zoom is completed, map size changed, layers initialized.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 22:01:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suspend-map-drawing/m-p/711194#M18273</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-10-19T22:01:16Z</dc:date>
    </item>
  </channel>
</rss>

