<?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: can't add dynamic map service layer in arcgis javascript in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353230#M32722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Sadanandachar,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&amp;nbsp;&amp;nbsp; The map dot addLayer method is not wanting an array it is expecting a single layer. So remove the square brackets and it will work fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 13:10:04 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-10-26T13:10:04Z</dc:date>
    <item>
      <title>can't add dynamic map service layer in arcgis javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353229#M32721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DynamicLayer.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/133328_DynamicLayer.jpg" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I am adding one arcgis dynamic map service layer on the base map using dojo module in javscript, But it is not loading.&lt;/P&gt;&lt;P&gt;I can't figure out why it is not loading, Please help me on this issue, I am stucked here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 13:03:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353229#M32721</guid>
      <dc:creator>SadanandacharB1</dc:creator>
      <dc:date>2015-10-26T13:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: can't add dynamic map service layer in arcgis javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353230#M32722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Sadanandachar,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&amp;nbsp;&amp;nbsp; The map dot addLayer method is not wanting an array it is expecting a single layer. So remove the square brackets and it will work fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 13:10:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353230#M32722</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-26T13:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: can't add dynamic map service layer in arcgis javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353231#M32723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's easy to get confused between addLayer, which handles just one layer at a time, and addLayers, which expects an array as the input parameter.&amp;nbsp; When I know I will be adding more layers later, I'll go ahead and use addLayers, even if I only have an array with one element in it to start.&amp;nbsp; Then I'm set with the syntax for multiple layers at a later time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this.map.addLayers([layer1]);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 15:57:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353231#M32723</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-26T15:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: can't add dynamic map service layer in arcgis javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353232#M32724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, I do the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 16:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353232#M32724</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-10-26T16:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: can't add dynamic map service layer in arcgis javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353233#M32725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much it helped me a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 04:41:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353233#M32725</guid>
      <dc:creator>SadanandacharB1</dc:creator>
      <dc:date>2015-10-27T04:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: can't add dynamic map service layer in arcgis javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353234#M32726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much it helped me a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 04:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353234#M32726</guid>
      <dc:creator>SadanandacharB1</dc:creator>
      <dc:date>2015-10-27T04:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: can't add dynamic map service layer in arcgis javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353235#M32727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much it helped me a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 04:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-dynamic-map-service-layer-in-arcgis/m-p/353235#M32727</guid>
      <dc:creator>SadanandacharB1</dc:creator>
      <dc:date>2015-10-27T04:42:02Z</dc:date>
    </item>
  </channel>
</rss>

