<?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: Rendering some parts of the Featurelayer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15861#M1472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends. If you need to query the layer based on the attribute data and/or spatial features, having a graphics layer to render the found features can be one way to go. Otherwise, if you only like to control the feature limit at each map scale level, making query and rendering afterwards would be an overhead. Setting scale dependencies in the map service would be the way I will recommend then. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, your business logic will eventually define the best approach you will need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Oct 2013 16:16:17 GMT</pubDate>
    <dc:creator>JasonZou</dc:creator>
    <dc:date>2013-10-28T16:16:17Z</dc:date>
    <item>
      <title>Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15853#M1464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi I'm confused how to render only some parts of a feature layer. Since all the given classbreak rendering samples are rendering the whole feature layer, is there any method to render only a few of the polygons in the feature layer (already have the Object IDs). Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 02:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15853#M1464</guid>
      <dc:creator>yufeizhuang</dc:creator>
      <dc:date>2013-10-28T02:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15854#M1465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yufei, you can use renderer to render the whole feature layer, and use featureLayer.setDefinitionExpression(expression) to filter which subset of features will be displayed by their attribute data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 02:40:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15854#M1465</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-10-28T02:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15855#M1466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;yufei, you can use renderer to render the whole feature layer, and use featureLayer.setDefinitionExpression(expression) to filter which subset of features will be displayed by their attribute data.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for prompting reply, it's a good idea but the now I have too many polygons in the feature layer(20000+), and I only need to render less than 1000 at one time... Would it be too slow to do that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 02:47:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15855#M1466</guid>
      <dc:creator>yufeizhuang</dc:creator>
      <dc:date>2013-10-28T02:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15856#M1467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello yufei zhuang,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can set the server behavior to return only 1000 records.Presuming you are using 10.1/10.2 ArcGIS server you can set property&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;Maximum Number of Records Returned by Server: 1000&lt;/STRONG&gt;&lt;SPAN&gt; in parameter tab of service.So server will return thousand record you and you can limit the records return by the server. As the number of records return by server increases it slows down the page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manojraj Teli&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 06:35:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15856#M1467</guid>
      <dc:creator>ManojrajTeli</dc:creator>
      <dc:date>2013-10-28T06:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15857#M1468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;BR /&gt;You can set the server behavior to return only 1000 records.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Manojraj. As I know, the server will return maximum 1000 records by default. Is it possible to increase this number and how can I do it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 06:46:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15857#M1468</guid>
      <dc:creator>yufeizhuang</dc:creator>
      <dc:date>2013-10-28T06:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15858#M1469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello yufei zhuang,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can increase the record limit on ArcGIS server by changing service properties.You can Increase it upto 13000 records which i have done since normal browser will support that much geometry. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Below are the images which will guide you to do that on ArcGIS Server. I am using ArcGIS server 10.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]28640[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;click on county layer to get next screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]28641[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;change the tab in left panel to get next screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]28642[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;change the value and save and restart service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which version of ArcGIS server are you using...?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 07:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15858#M1469</guid>
      <dc:creator>ManojrajTeli</dc:creator>
      <dc:date>2013-10-28T07:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15859#M1470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yufei, although you can control limiting rendering features by setting the MaxRecordCount number at the map service level, it is normally not a good idea to use that measure as the only control. MaxRecordCount is used mainly for performance consideration. But you don't want to confuse the users that the features rendered are the only ones available at that map scale. I would suggest to control the layer visibility by setting their scale dependency. With that, you can control that only features within the limit will be displayed, and meet your performance need as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can describe more detail how you like to filter the layer, it will help us better help you out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 12:40:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15859#M1470</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-10-28T12:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15860#M1471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you are right, I'm just curious about how to control the MaxRecordCount number. In fact, I have 20000+ polygons, and only have to show around 1000 every time. I'm thinking maybe it's more efficiency if I only add makers to the selected polygons instead of using the renderer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 15:59:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15860#M1471</guid>
      <dc:creator>yufeizhuang</dc:creator>
      <dc:date>2013-10-28T15:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15861#M1472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends. If you need to query the layer based on the attribute data and/or spatial features, having a graphics layer to render the found features can be one way to go. Otherwise, if you only like to control the feature limit at each map scale level, making query and rendering afterwards would be an overhead. Setting scale dependencies in the map service would be the way I will recommend then. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, your business logic will eventually define the best approach you will need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 16:16:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15861#M1472</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-10-28T16:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rendering some parts of the Featurelayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15862#M1473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; If you need to query the layer based on the attribute data and/or spatial features, having a graphics layer to render the found features can be one way to go.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I do have to query the layer based on spatial features. Thank you for the answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 16:21:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rendering-some-parts-of-the-featurelayer/m-p/15862#M1473</guid>
      <dc:creator>yufeizhuang</dc:creator>
      <dc:date>2013-10-28T16:21:49Z</dc:date>
    </item>
  </channel>
</rss>

