<?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 Fail to display a web scene in world-scale AR. in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fail-to-display-a-web-scene-in-world-scale-ar/m-p/1008877#M5380</link>
    <description>&lt;P&gt;I am currently trying to &lt;U&gt;display a web scene in World-Scale Augmented Reality with no result&lt;/U&gt;. I have followed the tutorial "Display a Web Scene" (&lt;A href="https://developers.arcgis.com/labs/android/display-a-web-scene/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/labs/android/display-a-web-scene/&lt;/A&gt;) and adjusted it to display content in AR View. &lt;U&gt;I want to be able to add and display a web scene with multiple layers in an AR View.&lt;/U&gt; I am developing an app natively for Android (Java).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have been able to display 2D single geometry web maps using this method but trying to display a 3D scene is not producing anything (just a white elevation basemap or a white grid overlaying the ground if I saved the web map without a basemap). None of the features show is they belong to multiple geometries or are 3D.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;(&lt;SPAN&gt;mArView &lt;/SPAN&gt;!= &lt;SPAN&gt;null&lt;/SPAN&gt;) {&lt;BR /&gt;    String itemID = &lt;SPAN&gt;"67f809f5941a437babb1827df351a5e5"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    Portal portal = &lt;SPAN&gt;new &lt;/SPAN&gt;Portal(&lt;SPAN&gt;"https://www.arcgis.com"&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    PortalItem portalItem = &lt;SPAN&gt;new &lt;/SPAN&gt;PortalItem(portal&lt;SPAN&gt;, &lt;/SPAN&gt;itemID)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    ArcGISScene scene = &lt;SPAN&gt;new &lt;/SPAN&gt;ArcGISScene(portalItem)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;mArView&lt;/SPAN&gt;.getSceneView().setScene(scene)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;My understanding is that ARView inherits methods from SceneView but I have been unable to find any documentation on how to display web scenes in AR... So I am not sure if it's incapable to do so, if I am trying to display this in the wrong way or if there is something wrong with my web scene. Help! Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2020 16:09:23 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-12-11T16:09:23Z</dc:date>
    <item>
      <title>Fail to display a web scene in world-scale AR.</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fail-to-display-a-web-scene-in-world-scale-ar/m-p/1008877#M5380</link>
      <description>&lt;P&gt;I am currently trying to &lt;U&gt;display a web scene in World-Scale Augmented Reality with no result&lt;/U&gt;. I have followed the tutorial "Display a Web Scene" (&lt;A href="https://developers.arcgis.com/labs/android/display-a-web-scene/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/labs/android/display-a-web-scene/&lt;/A&gt;) and adjusted it to display content in AR View. &lt;U&gt;I want to be able to add and display a web scene with multiple layers in an AR View.&lt;/U&gt; I am developing an app natively for Android (Java).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have been able to display 2D single geometry web maps using this method but trying to display a 3D scene is not producing anything (just a white elevation basemap or a white grid overlaying the ground if I saved the web map without a basemap). None of the features show is they belong to multiple geometries or are 3D.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;(&lt;SPAN&gt;mArView &lt;/SPAN&gt;!= &lt;SPAN&gt;null&lt;/SPAN&gt;) {&lt;BR /&gt;    String itemID = &lt;SPAN&gt;"67f809f5941a437babb1827df351a5e5"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    Portal portal = &lt;SPAN&gt;new &lt;/SPAN&gt;Portal(&lt;SPAN&gt;"https://www.arcgis.com"&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    PortalItem portalItem = &lt;SPAN&gt;new &lt;/SPAN&gt;PortalItem(portal&lt;SPAN&gt;, &lt;/SPAN&gt;itemID)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    ArcGISScene scene = &lt;SPAN&gt;new &lt;/SPAN&gt;ArcGISScene(portalItem)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;mArView&lt;/SPAN&gt;.getSceneView().setScene(scene)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;My understanding is that ARView inherits methods from SceneView but I have been unable to find any documentation on how to display web scenes in AR... So I am not sure if it's incapable to do so, if I am trying to display this in the wrong way or if there is something wrong with my web scene. Help! Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 16:09:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/fail-to-display-a-web-scene-in-world-scale-ar/m-p/1008877#M5380</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-12-11T16:09:23Z</dc:date>
    </item>
  </channel>
</rss>

