<?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: 3D elevation sometimes not working in Android in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1339117#M5115</link>
    <description>&lt;P&gt;Regarding the issue, yes printing the error should help to figure our where the issue is, but it's strange that this happens only when using the application in Android. Honestly, for me this is a bug of the framework. I will keep you updated btw!&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2023 13:41:58 GMT</pubDate>
    <dc:creator>PietroMaps</dc:creator>
    <dc:date>2023-10-18T13:41:58Z</dc:date>
    <item>
      <title>3D elevation sometimes not working in Android</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1338170#M5108</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am using Appstudio to create a 3D GIS mobile app. I am using the SceneView to visualize 3D maps with elevations. I have a strange bug: sometimes the elevation seems to not work in Android, while it works in all the other platforms (Windows, iOS and Mac). The bug seems to be totally random and I cannot fully reproduce the behaviour every time (except&amp;nbsp; during official presentations, where it never work!).&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the demo code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;import QtQuick 2.13
import QtQuick.Controls 2.13

import ArcGIS.AppFramework 1.0
import Esri.ArcGISRuntime 100.15


Rectangle {
    width: 800
    height: 600

    property real size: 0.01
    property int maxZ: 1000
    property var colors: []

    // Create a scene view
    SceneView {
        id: sceneView
        anchors.fill: parent

        // create a scene...scene is a default property of sceneview
        // and thus will get added to the sceneview
        Scene {
            // add a basemap
            Basemap {
                initStyle: Enums.BasemapStyleArcGISImageryStandard
            }

            // add a surface...surface is a default property of scene
            Surface {
                // add an arcgis tiled elevation source...elevation source is a default property of surface
                ArcGISTiledElevationSource {
                    url: "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer"
                }
            }
        }

        GraphicsOverlay {
            id: graphicsOverlay

            SimpleRenderer {
                RendererSceneProperties {
                    extrusionMode: Enums.ExtrusionModeBaseHeight
                    extrusionExpression: "[height]"
                }
                SimpleFillSymbol{
                    style: Enums.SimpleFillSymbolStyleSolid;
                    color: "red"
                }
            }
        }

        Component.onCompleted: {
            // Set the focus on SceneView to initially enable keyboard navigation
            forceActiveFocus();

            // set viewpoint to the specified camera
            setViewpointCameraAndWait(camera);
        }
    }

    // create the camera to be used as the scene view's viewpoint
    Camera {
        id: camera
        location: Point {
            x: 83.9
            y: 28.4
            z: 10010.0
            spatialReference: SpatialReference { wkid: 4326 }
        }
        heading: 10.0
        pitch: 80.0
        roll: 0.0
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Cloud make to create Android builds.&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 12:18:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1338170#M5108</guid>
      <dc:creator>PietroMaps</dc:creator>
      <dc:date>2023-10-16T12:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: 3D elevation sometimes not working in Android</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1338178#M5109</link>
      <description>&lt;P&gt;I dont do android development, but is it possible to listen to the loadErrorChanged and loadStatusChanged signals for all your different components and then log somehow the errors that occurred?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-loadable.html" target="_blank"&gt;https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-loadable.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 12:48:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1338178#M5109</guid>
      <dc:creator>TroyFoster</dc:creator>
      <dc:date>2023-10-16T12:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: 3D elevation sometimes not working in Android</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1338520#M5111</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/329243"&gt;@TroyFoster&lt;/a&gt;&amp;nbsp;ok thanks I can try to log the error. I will update this post when and if I'll get something.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 09:07:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1338520#M5111</guid>
      <dc:creator>PietroMaps</dc:creator>
      <dc:date>2023-10-17T09:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: 3D elevation sometimes not working in Android</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1338560#M5113</link>
      <description>&lt;P&gt;My Esri conspiracy theory: none of the samples on github have error handling to keep people coming back to these forums as a way of increasing engagement with users.&amp;nbsp; Since probably 70% of the questions on here would be clarified by printing out the error message.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 12:12:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1338560#M5113</guid>
      <dc:creator>TroyFoster</dc:creator>
      <dc:date>2023-10-17T12:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: 3D elevation sometimes not working in Android</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1339117#M5115</link>
      <description>&lt;P&gt;Regarding the issue, yes printing the error should help to figure our where the issue is, but it's strange that this happens only when using the application in Android. Honestly, for me this is a bug of the framework. I will keep you updated btw!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 13:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/3d-elevation-sometimes-not-working-in-android/m-p/1339117#M5115</guid>
      <dc:creator>PietroMaps</dc:creator>
      <dc:date>2023-10-18T13:41:58Z</dc:date>
    </item>
  </channel>
</rss>

