<?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: Adding layers ArcGISDynamicMapServiceLayer and DynamicMapServiceLayer to a map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215443#M19948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should note that the Hybrid layer is out of date. This note is in the map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This map is in &lt;A href="http://links.esri.com/agol_lifecycle"&gt;Extended Support&lt;/A&gt; and is no longer updated. Esri recommends that you use &lt;A href="http://goto.arcgisonline.com/maps/World_Imagery"&gt;World_Imagery&lt;/A&gt; instead (ArcGIS 9.3 or higher is required).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Virtually all of the Esri base maps have been moved to the 102100 projection to match them with the existing Google/Bing maps, so it might be difficult to find a street basemap with the old 4326 projection. Can your wms layer be updated to the 102100 projection?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Mar 2013 18:23:58 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2013-03-21T18:23:58Z</dc:date>
    <item>
      <title>Adding layers ArcGISDynamicMapServiceLayer and DynamicMapServiceLayer to a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215439#M19944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application where the user can show/hide a number of layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; streets = new esri.layers.ArcGISDynamicMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer", { "opacity": 0.5, "imageParameters": imageParameters });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; satellite = new esri.layers.ArcGISDynamicMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer", { "opacity": 0.5, "imageParameters": imageParameters });&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;etc....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And can also activate other WMS layer like this example &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/demos/layers/layers_custom_wms.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/demos/layers/layers_custom_wms.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is that when the first active layer is wms (DynamicMapServiceLayer) and then layer ArcGISDynamicMapServiceLayer, I see both correctly. But if the first active layer is ArcGISDynamicMapServiceLayer and then layer DynamicMapServiceLayer I can not see the latter on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//This way don't work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(streets);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(new WMSLayer());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to change the order of layers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can solve the problem in another way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for my english.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:33:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215439#M19944</guid>
      <dc:creator>CristinaJacome</dc:creator>
      <dc:date>2021-12-11T10:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding layers ArcGISDynamicMapServiceLayer and DynamicMapServiceLayer to a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215440#M19945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like your base map layers "streets" and "satellites" should be of type ArcGISTiledMapServiceLayer, rather than ArcGISDynamicMapServiceLayer. That could be part of your problem. Try changing the base map imagery to use this type of object first and see if you notice a difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 14:40:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215440#M19945</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2013-03-21T14:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding layers ArcGISDynamicMapServiceLayer and DynamicMapServiceLayer to a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215441#M19946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does the DynamicMapServiceLayer have the same projection as the ArcGISDynamicMapServiceLayer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 16:11:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215441#M19946</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-03-21T16:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding layers ArcGISDynamicMapServiceLayer and DynamicMapServiceLayer to a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215442#M19947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OH!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I create my layers like ArcGISTiledMapServiceLayer types, its work, but only if I active first this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;hybrid = new esri.layers.ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer" rel="nofollow" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I active first this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;streets = new esri.layers.ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;"); //, { "opacity": 0.5, "imageParameters": imageParameters });&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;don't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is because the projection are different!!!! jeje&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hybrid has projection 4326, but streets has 102100 and my layer wms has 4326 projection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you AMmiconnol, thank you kenbuja!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I need change the projection of streets layer (if this can)....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 17:51:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215442#M19947</guid>
      <dc:creator>CristinaJacome</dc:creator>
      <dc:date>2013-03-21T17:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding layers ArcGISDynamicMapServiceLayer and DynamicMapServiceLayer to a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215443#M19948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should note that the Hybrid layer is out of date. This note is in the map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This map is in &lt;A href="http://links.esri.com/agol_lifecycle"&gt;Extended Support&lt;/A&gt; and is no longer updated. Esri recommends that you use &lt;A href="http://goto.arcgisonline.com/maps/World_Imagery"&gt;World_Imagery&lt;/A&gt; instead (ArcGIS 9.3 or higher is required).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Virtually all of the Esri base maps have been moved to the 102100 projection to match them with the existing Google/Bing maps, so it might be difficult to find a street basemap with the old 4326 projection. Can your wms layer be updated to the 102100 projection?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 18:23:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215443#M19948</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-03-21T18:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding layers ArcGISDynamicMapServiceLayer and DynamicMapServiceLayer to a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215444#M19949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, mi wms don't support 102100, but I am trying to convert 102100 to 4326 before calling for wms service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment is very disjointed :mad: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22870[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 08:35:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-layers-arcgisdynamicmapservicelayer-and/m-p/215444#M19949</guid>
      <dc:creator>CristinaJacome</dc:creator>
      <dc:date>2013-03-22T08:35:10Z</dc:date>
    </item>
  </channel>
</rss>

