<?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: Slow redraw when adding graphics in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157699#M1432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I suspect what is happening is that the display pipeline is not able to keep pace with the constantly changing map rotation, especially because the iPad 3 retina display requires a lot of fine detail in the graphics.&lt;BR /&gt;&lt;BR /&gt;As a workaround, can you try disabling the renderNativeResolution property on all the graphics layers and see if that makes things better? I have a feeling it might because the graphics layer will not try to draw in such great detail. You may see a slight degradation in the crispness of your graphics, but it may not be noticeable.&lt;BR /&gt;&lt;BR /&gt;Please let us know.&lt;BR /&gt;And thank you for reporting this,&amp;nbsp; your feedback is very helpful.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Had a similar problem with our app running on an iPad 3. The combination of updating to v2.3 of the SDK and setting the &lt;/SPAN&gt;&lt;STRONG&gt;renderNativeResolution&lt;/STRONG&gt;&lt;SPAN&gt; property to &lt;/SPAN&gt;&lt;STRONG&gt;NO&lt;/STRONG&gt;&lt;SPAN&gt; on all graphics layers resolved the issue for us - we're seeing much better performance, and significantly lower virtual memory usage when we profile the app using the VM Tracker in the Xcode Instruments tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Evan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2012 15:55:33 GMT</pubDate>
    <dc:creator>EvanKirkwood</dc:creator>
    <dc:date>2012-07-10T15:55:33Z</dc:date>
    <item>
      <title>Slow redraw when adding graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157693#M1426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm seeing really SLOW redraw/update performance.&amp;nbsp; I don't have much going in the map: a tiled base map, a few graphics layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In one scenario, two polygon graphics located at the map center are added to the first graphic layer.&amp;nbsp; These update each time the user pans.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the other scenario, simple point graphics are added to a second graphics layer where ever the user clicks on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The graphics take quite a long time to draw...almost a full '10 Mississippi'.&amp;nbsp; I've tried removing the graphics and adding new ones, updating the geometry of the current graphics, etc... nothing seems to make this happen any faster.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is for a data collection app and if this is the best performance from the native SDK, it's not going to be suitable for my client.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the device is tethered to the computer and I can watch the NSLog output, I see my log "done" statement after the [myGraphicsLayer dataChanged] method.&amp;nbsp; Then I can can count at least to 5, sometimes 10 before the graphics draw.&amp;nbsp; Am I doing something wrong?&amp;nbsp;&amp;nbsp; I'm pretty much following the exact code at the "Adding Graphic Features" section here: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-ios-sdk/concepts/index.html#/Managing_Graphic_features/00pw00000007000000/"&gt;http://resources.arcgis.com/en/help/runtime-ios-sdk/concepts/index.html#/Managing_Graphic_features/00pw00000007000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is iOS 5.1 on iPAD 3 using SDK 2.2.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any suggestions&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 00:03:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157693#M1426</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2012-06-27T00:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Slow redraw when adding graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157694#M1427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried using the latest SDK v2.3? Do you see the same issue? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 17:36:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157694#M1427</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-06-27T17:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Slow redraw when adding graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157695#M1428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the response...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just tried SDK 2.3, good news/bad news:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good:&amp;nbsp; redraw speed on the graphics is MUCH better... performance is what i'd expect.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bad:&amp;nbsp; the auto rotation of the map in mode: AGSGPSAutoPanModeCompassNavigation went from "silky smooth" to "choppy clunky".&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We took the graphics layers off the map and the auto rotation is silky smooth again.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The app has two graphics layers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The "distance circles"&amp;nbsp; (always two polygon graphics, simple outlines only)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The user click points (current test as 5 simple marker graphics, but users in the field may collect hunderds at a time)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The app also has the "sketch layer" turned on to display the current GPS track.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're pulling off each layer to see if it's a particular layer that's causing the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 16:25:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157695#M1428</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2012-06-28T16:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Slow redraw when adding graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157696#M1429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We added 2 graphics layers and the sketch layer to the GPS sample.&amp;nbsp; No circles, no gps track, just user clicks to add points to the first layer. Same results, as soon as you add graphics the auto-rotation gets choppy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 19:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157696#M1429</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2012-06-28T19:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Slow redraw when adding graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157697#M1430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suspect what is happening is that the display pipeline is not able to keep pace with the constantly changing map rotation, especially because the iPad 3 retina display requires a lot of fine detail in the graphics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a workaround, can you try disabling the renderNativeResolution property on all the graphics layers and see if that makes things better? I have a feeling it might because the graphics layer will not try to draw in such great detail. You may see a slight degradation in the crispness of your graphics, but it may not be noticeable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let us know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And thank you for reporting this,&amp;nbsp; your feedback is very helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 21:57:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157697#M1430</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2012-06-29T21:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Slow redraw when adding graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157698#M1431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Divesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks we'll give it a try and let you know.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 22:29:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157698#M1431</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2012-06-29T22:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Slow redraw when adding graphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157699#M1432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I suspect what is happening is that the display pipeline is not able to keep pace with the constantly changing map rotation, especially because the iPad 3 retina display requires a lot of fine detail in the graphics.&lt;BR /&gt;&lt;BR /&gt;As a workaround, can you try disabling the renderNativeResolution property on all the graphics layers and see if that makes things better? I have a feeling it might because the graphics layer will not try to draw in such great detail. You may see a slight degradation in the crispness of your graphics, but it may not be noticeable.&lt;BR /&gt;&lt;BR /&gt;Please let us know.&lt;BR /&gt;And thank you for reporting this,&amp;nbsp; your feedback is very helpful.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Had a similar problem with our app running on an iPad 3. The combination of updating to v2.3 of the SDK and setting the &lt;/SPAN&gt;&lt;STRONG&gt;renderNativeResolution&lt;/STRONG&gt;&lt;SPAN&gt; property to &lt;/SPAN&gt;&lt;STRONG&gt;NO&lt;/STRONG&gt;&lt;SPAN&gt; on all graphics layers resolved the issue for us - we're seeing much better performance, and significantly lower virtual memory usage when we profile the app using the VM Tracker in the Xcode Instruments tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Evan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 15:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/slow-redraw-when-adding-graphics/m-p/157699#M1432</guid>
      <dc:creator>EvanKirkwood</dc:creator>
      <dc:date>2012-07-10T15:55:33Z</dc:date>
    </item>
  </channel>
</rss>

