<?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: How can we add MapImageLayer into webscene Portal item as in two 2d we can add into Map so how we can add on 3D ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-we-add-mapimagelayer-into-webscene-portal/m-p/23562#M2058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create sample code for you, below is the codepen url&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/thanhtetaung/pen/xxKEKoe" title="https://codepen.io/thanhtetaung/pen/xxKEKoe"&gt;https://codepen.io/thanhtetaung/pen/xxKEKoe&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; map.layers.add(permitsLayer)&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;Initialized map with layers, that will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Aug 2019 08:54:24 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-08-19T08:54:24Z</dc:date>
    <item>
      <title>How can we add MapImageLayer into webscene Portal item as in two 2d we can add into Map so how we can add on 3D ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-we-add-mapimagelayer-into-webscene-portal/m-p/23560#M2056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Here is snap of code which is not working" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/457339_Mapimagelayer.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 04:40:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-we-add-mapimagelayer-into-webscene-portal/m-p/23560#M2056</guid>
      <dc:creator>AnupamSharma</dc:creator>
      <dc:date>2019-08-19T04:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can we add MapImageLayer into webscene Portal item as in two 2d we can add into Map so how we can add on 3D ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-we-add-mapimagelayer-into-webscene-portal/m-p/23561#M2057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is the same for 2D and 3D.&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html" rel="nofollow noopener noreferrer" target="_blank"&gt;MapImageLayer | ArcGIS API for JavaScript 4.12&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section:&amp;nbsp;Reference an ArcGIS portal Item ID&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// references an ArcGIS Online item pointing to a Map Service Layer&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; layer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;MapImageLayer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  portalItem&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// autocasts as esri/portal/PortalItem&lt;/SPAN&gt;
    id&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"d7892b3c13b44391992ecd42bfa92d01"&lt;/SPAN&gt;
  &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// adds the layer to the map‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:57:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-we-add-mapimagelayer-into-webscene-portal/m-p/23561#M2057</guid>
      <dc:creator>SaschaBrunnerCH</dc:creator>
      <dc:date>2021-12-10T20:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can we add MapImageLayer into webscene Portal item as in two 2d we can add into Map so how we can add on 3D ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-we-add-mapimagelayer-into-webscene-portal/m-p/23562#M2058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create sample code for you, below is the codepen url&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/thanhtetaung/pen/xxKEKoe" title="https://codepen.io/thanhtetaung/pen/xxKEKoe"&gt;https://codepen.io/thanhtetaung/pen/xxKEKoe&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; map.layers.add(permitsLayer)&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;Initialized map with layers, that will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:54:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-we-add-mapimagelayer-into-webscene-portal/m-p/23562#M2058</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-08-19T08:54:24Z</dc:date>
    </item>
  </channel>
</rss>

