<?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: On Demand Loading on graphic layer in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441257#M11446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Generally the GraphicsLayer/Map can handle all 20,000 points with no problem. However, displaying all of these at once is a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In other words, when you are zoomed in on the map and can only see for instance 100 of the 20000 points that are in the layer, you should see good performance. However if you zoom out to a place where all 20,000 points are visible, you are going to see a performance hit. So basically the performance hit is not about how many points a layer has, but about how many of them are currently visible at a given time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So generally what I recommend is to set the MaxResolution property on the layer to turn off the layer when zoomed out beyond a certain scale. That way you don't really have to worry about building your own on-demand framework on GraphicsLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want an on-demand implementation you would have to rely on the Map.ExtentChanged event to add/remove features to/from the graphicslayer based on the current map extent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2012 17:15:07 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2012-05-08T17:15:07Z</dc:date>
    <item>
      <title>On Demand Loading on graphic layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441253#M11442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please how can i implement on demand loading of points (with graphics) on graphic layers as i have close to 20,000 points since i am not using featuredlayers. Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 08:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441253#M11442</guid>
      <dc:creator>AYOOLAOLOJEDE</dc:creator>
      <dc:date>2012-04-08T08:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: On Demand Loading on graphic layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441254#M11443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I also have a vast amount of datapoints to display, and looking for advice on how to do this. I am migrating our C1 map to an ESRI map.&amp;nbsp; I set up clustering which is great, but when zooming in, things get slow. I noticed in this sample, &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/rc/item.html?id=67f62c5c30cc4b3ca942068e404c442c"&gt;http://www.arcgis.com/rc/item.html?id=67f62c5c30cc4b3ca942068e404c442c&lt;/A&gt;&lt;SPAN&gt;, things on the map are only drawn for the area shown, and then when the map is panned, some layers get redrawn, showing data for the visible area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The datapoints we are plotting correspond to real-time data, so caching doesn't seem to be an option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 18:43:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441254#M11443</guid>
      <dc:creator>JoshPorter</dc:creator>
      <dc:date>2012-04-11T18:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: On Demand Loading on graphic layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441255#M11444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FeatureLayer inherits from GraphicsLayer. One major difference is that FeatureLayer has a QueryTask built-in, which allows this layer to have a Mode. This is an example of Mode=OnDemand in FeatureLayer: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerOnDemand"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerOnDemand&lt;/A&gt;&lt;SPAN&gt;. If you have Fiddler open, you will notice that query is sent everytime map extent changes. This means features are cached/added on client when they become visible in the current map extent. This concepts page might help: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/index.html#/Feature_layers/016600000015000000/"&gt;http://help.arcgis.com/en/webapi/silverlight/help/index.html#/Feature_layers/016600000015000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 15:29:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441255#M11444</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-04-13T15:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: On Demand Loading on graphic layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441256#M11445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently I have something using a GraphicsSource much like &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#UsingGraphicsSource"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#UsingGraphicsSource&lt;/A&gt;&lt;SPAN&gt; .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know of a way to load onto the map only what is visible in the current extent?&amp;nbsp; We do not have the ability to create and host a service, but maybe we could make a local table with this data and pass it to the feature layer to use. Thanks for helping a newbie out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The end goal of all this is to get the datapoints on the map without encountering unreasonable performance issues. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 00:05:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441256#M11445</guid>
      <dc:creator>JoshPorter</dc:creator>
      <dc:date>2012-05-08T00:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: On Demand Loading on graphic layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441257#M11446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Generally the GraphicsLayer/Map can handle all 20,000 points with no problem. However, displaying all of these at once is a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In other words, when you are zoomed in on the map and can only see for instance 100 of the 20000 points that are in the layer, you should see good performance. However if you zoom out to a place where all 20,000 points are visible, you are going to see a performance hit. So basically the performance hit is not about how many points a layer has, but about how many of them are currently visible at a given time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So generally what I recommend is to set the MaxResolution property on the layer to turn off the layer when zoomed out beyond a certain scale. That way you don't really have to worry about building your own on-demand framework on GraphicsLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want an on-demand implementation you would have to rely on the Map.ExtentChanged event to add/remove features to/from the graphicslayer based on the current map extent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 17:15:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/on-demand-loading-on-graphic-layer/m-p/441257#M11446</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2012-05-08T17:15:07Z</dc:date>
    </item>
  </channel>
</rss>

