<?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 Dynamic Layer: override scale, definition in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-layer-override-scale-definition/m-p/235522#M21950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a dynamic layer based on an existing layer ID (e.g. 20) in a map service.&amp;nbsp; When I create the DynamicLayerInfo and set the minScale and maxScale, those values are ignored and the defaults for layer 20 are used.&amp;nbsp; Similarly, when I set the layer definition for that dynamic layer, it appears to be appended to the existing definition for layer 20 rather than overriding it.&amp;nbsp; Is there any way at all to completely override the scale and definition settings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative, I registered the data source with the service and created a dynamic layer through that. Is that the only way to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 17:01:36 GMT</pubDate>
    <dc:creator>MarkCederholm</dc:creator>
    <dc:date>2015-10-08T17:01:36Z</dc:date>
    <item>
      <title>Dynamic Layer: override scale, definition</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-layer-override-scale-definition/m-p/235522#M21950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a dynamic layer based on an existing layer ID (e.g. 20) in a map service.&amp;nbsp; When I create the DynamicLayerInfo and set the minScale and maxScale, those values are ignored and the defaults for layer 20 are used.&amp;nbsp; Similarly, when I set the layer definition for that dynamic layer, it appears to be appended to the existing definition for layer 20 rather than overriding it.&amp;nbsp; Is there any way at all to completely override the scale and definition settings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative, I registered the data source with the service and created a dynamic layer through that. Is that the only way to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 17:01:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamic-layer-override-scale-definition/m-p/235522#M21950</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2015-10-08T17:01:36Z</dc:date>
    </item>
  </channel>
</rss>

