<?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 Error when adding hosted scene layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-when-adding-hosted-scene-layer/m-p/1288029#M81120</link>
    <description>&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I am struggling to display a hosted scene layer on the web application. The layer is a 3d model of a floor in a building. (Due to security issue, I am not able to share the access of the layer)&lt;/P&gt;&lt;P&gt;I initiate the scene as the following&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;bSceneLayer&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;BuildingSceneLayer&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;  url&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;my_url&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;map&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;Map&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;  basemap&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"osm-light-gray"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;view&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;SceneView&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;  container&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"viewDiv"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;  map&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;add&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;bSceneLayer&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;The error below returned and the layer was failed to displayed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-11 at 11.12.31 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70398i0C527B59DF5034F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-05-11 at 11.12.31 AM.png" alt="Screenshot 2023-05-11 at 11.12.31 AM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I also tried to comment out the basemap property. Then the scene layer showed correctly but another camera error occurred (illustrated in another post). How to resolve this error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides, is there any option to avoid basemap rendering? I just want a plain background with the 3d model on top.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for everyone helping.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 May 2023 03:17:39 GMT</pubDate>
    <dc:creator>Blakearc</dc:creator>
    <dc:date>2023-05-11T03:17:39Z</dc:date>
    <item>
      <title>Error when adding hosted scene layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-when-adding-hosted-scene-layer/m-p/1288029#M81120</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I am struggling to display a hosted scene layer on the web application. The layer is a 3d model of a floor in a building. (Due to security issue, I am not able to share the access of the layer)&lt;/P&gt;&lt;P&gt;I initiate the scene as the following&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;bSceneLayer&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;BuildingSceneLayer&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;  url&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;my_url&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;map&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;Map&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;  basemap&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"osm-light-gray"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;view&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;SceneView&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;  container&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"viewDiv"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;  map&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;add&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;bSceneLayer&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;The error below returned and the layer was failed to displayed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-11 at 11.12.31 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70398i0C527B59DF5034F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-05-11 at 11.12.31 AM.png" alt="Screenshot 2023-05-11 at 11.12.31 AM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I also tried to comment out the basemap property. Then the scene layer showed correctly but another camera error occurred (illustrated in another post). How to resolve this error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides, is there any option to avoid basemap rendering? I just want a plain background with the 3d model on top.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for everyone helping.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 May 2023 03:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-when-adding-hosted-scene-layer/m-p/1288029#M81120</guid>
      <dc:creator>Blakearc</dc:creator>
      <dc:date>2023-05-11T03:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error when adding hosted scene layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-when-adding-hosted-scene-layer/m-p/1288525#M81136</link>
      <description>&lt;P&gt;Similar to your &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-views-3d-state-viewstatemanager-camera/m-p/1288026" target="_self"&gt;other question regarding camera&lt;/A&gt;, the spatial references of the "osm-light-gray" basemap does not match with the one from your building scene layer. Either you have to provide a basemap in the same spatial reference, or you have to initialize the Map object without a basemap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;For more information about supported coordinate system and what projections can be combined, see the SceneView documentation:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#supported-coordinate-systems" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#supported-coordinate-systems&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 11:27:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-when-adding-hosted-scene-layer/m-p/1288525#M81136</guid>
      <dc:creator>ArnoFiva</dc:creator>
      <dc:date>2023-05-12T11:27:52Z</dc:date>
    </item>
  </channel>
</rss>

