<?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 Best practices for layer management in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practices-for-layer-management/m-p/279082#M25753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just completed the ESRI course 'Building Web Applications Using the ArcGIS API for JavaScript'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Something that wasnt discussed is properly managing layers to be created into service in the first place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have about 10 layers of data, some are partially coincidental polygon layers - zipcodes &amp;gt; town &amp;gt; county&amp;gt; state&amp;gt; region etc.&amp;nbsp; others are distinct points here and there thoughout.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I first started playing with the API tools, I was using the Flex Viewer, and I had beautiful mxd's all set up with symbology and scale-dependant display, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but with so many layers, I feel like it might be better to do each layer as its own service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks All, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Evan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Dec 2011 03:25:55 GMT</pubDate>
    <dc:creator>evanpicard</dc:creator>
    <dc:date>2011-12-27T03:25:55Z</dc:date>
    <item>
      <title>Best practices for layer management</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practices-for-layer-management/m-p/279082#M25753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just completed the ESRI course 'Building Web Applications Using the ArcGIS API for JavaScript'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Something that wasnt discussed is properly managing layers to be created into service in the first place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have about 10 layers of data, some are partially coincidental polygon layers - zipcodes &amp;gt; town &amp;gt; county&amp;gt; state&amp;gt; region etc.&amp;nbsp; others are distinct points here and there thoughout.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I first started playing with the API tools, I was using the Flex Viewer, and I had beautiful mxd's all set up with symbology and scale-dependant display, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but with so many layers, I feel like it might be better to do each layer as its own service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks All, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Evan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 03:25:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practices-for-layer-management/m-p/279082#M25753</guid>
      <dc:creator>evanpicard</dc:creator>
      <dc:date>2011-12-27T03:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Best practices for layer management</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practices-for-layer-management/m-p/279083#M25754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Evan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a tough one.&amp;nbsp; It's right up there with "What size server do I need?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best advice I know to give you is to think of the application from the outside in.&amp;nbsp; Do you have multiple applications that will be using the same services?&amp;nbsp; Will they all be using the exact same symbology for all layers?&amp;nbsp; In most cases, this will dictate what you want to do with your services. You may find that your best solution is to group some data into multi-layer services, while leaving others as services unto themselves.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My personal experience is that what you want to do with the data layer dictates where it should reside.&amp;nbsp; If these are static data services that don't change a whole lot, like hydrography or elevation, it might make sense to keep them in a single service and use them as-is, with the symbology you have defined in the map document.&amp;nbsp; Likewise, if you will be doing most of the app-specific stuff client-side with Feature Layers, it makes sense to put them all in a single service.&amp;nbsp; Feature Layers can access individual layers in a service and display them as a single layer on the client.&amp;nbsp; You can also define the renderer for the layer client-side and override what's in the map document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're doing something very service-specific like editing, then you would obviously want a single service for that data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A general rule is that whatever is easy on the server will cause a bit more work on the client, and whatever is easy on the client might take a little more work on the server.&amp;nbsp; If you group all your layers into a single service, then you might have to do some work setting up Feature Layers on the client to get exactly what you want.&amp;nbsp; Likewise, if you break all your layers out into singleton services, hosting those on the server takes more resources.&amp;nbsp; Using them on the client side is super simple though, you just add the services you want and the rendering and functionality is all defined for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps.&amp;nbsp; Without having a knowledge of what you need the applications to do with the data, it's a hard question to answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 18:08:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practices-for-layer-management/m-p/279083#M25754</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-12-30T18:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Best practices for layer management</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practices-for-layer-management/m-p/279084#M25755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 18:58:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practices-for-layer-management/m-p/279084#M25755</guid>
      <dc:creator>evanpicard</dc:creator>
      <dc:date>2012-01-02T18:58:13Z</dc:date>
    </item>
  </channel>
</rss>

