<?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: Zoom to layer issue using appStudio QT in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1035322#M3994</link>
    <description>&lt;P&gt;Hi Jared,&lt;/P&gt;&lt;P&gt;Still having issues and its not an extent issue. I have similar code in my App (mapView.locationDisplay.autoPanMode = Enums.LocationDisplayAutoPanModeRecenter; ) and it zooms to location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tired my featureLayer in the code below and also locationDisplay in the code below but it still doesn't work including no error messaged.&lt;/P&gt;&lt;P&gt;mapView.setViewpointGeometryAndPadding(feature.geometry, 30);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 04:35:03 GMT</pubDate>
    <dc:creator>EricAtkinson1</dc:creator>
    <dc:date>2021-03-11T04:35:03Z</dc:date>
    <item>
      <title>Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1020433#M3927</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm having issues with zoom to feature code. I am using the code in the sample "Listed Related features" but doesn't seem to work and the confusing part is that there are no errors displaying.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;mapView&lt;/SPAN&gt;.setViewpointGeometryAndPadding(&lt;SPAN&gt;feature&lt;/SPAN&gt;.geometry, 30);&lt;/PRE&gt;&lt;P&gt;Is this correct or does anyone know of another way I can zoom to feature while clicking on a feature on the map?&lt;/P&gt;&lt;P&gt;Thanks all&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 12:09:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1020433#M3927</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-01-27T12:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1021087#M3928</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/426765"&gt;@EricAtkinson1&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see anything wrong with your line of code so that's good news. If I run the "List related features" QML sample with 100.9/100.10 it works perfectly fine for me and it also set's the viewpoint to the selected features geometry when clicked.&lt;/P&gt;&lt;P&gt;Could you provide a bit more context? Which version of ArcGIS Runtime are you using? Maybe provide the .qml file or a larger section of the code so I can take a closer look at the rest of your workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jared&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 16:49:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1021087#M3928</guid>
      <dc:creator>JaredCaccamo</dc:creator>
      <dc:date>2021-01-28T16:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1021390#M3929</link>
      <description>&lt;P&gt;Hi Jared,&lt;/P&gt;&lt;P&gt;Thanks for the reply. Im pretty new to this so am learning on the way so any help would be appreciated. I feel like I might be missing a connection as in the previous version it has connections (line110 on sample) but cant seem to get connections working with&amp;nbsp;&lt;SPAN&gt;onIdentifyLayerStatusChanged. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is some of my code, the map url has been taken on purpose. The app works just cant seen to get the map to zoom once the feature has been clicked.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers, Eric&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;contentItem&lt;/SPAN&gt;: &lt;SPAN&gt;Rectangle&lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;            &lt;SPAN&gt;anchors.top&lt;/SPAN&gt;:&lt;SPAN&gt;header&lt;/SPAN&gt;.bottom&lt;/PRE&gt;&lt;PRE&gt;            &lt;SPAN&gt;MapView&lt;/SPAN&gt; {&lt;/PRE&gt;&lt;PRE&gt;                &lt;SPAN&gt;id&lt;/SPAN&gt;: &lt;SPAN&gt;mapView&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;                &lt;SPAN&gt;anchors.fill&lt;/SPAN&gt;: &lt;SPAN&gt;parent&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;                &lt;SPAN&gt;viewInsets.bottom&lt;/SPAN&gt;: &lt;SPAN&gt;attributeView&lt;/SPAN&gt;.height / &lt;SPAN&gt;scaleFactor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;                &lt;SPAN&gt;locationDisplay&lt;/SPAN&gt; {&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;positionSource&lt;/SPAN&gt;: &lt;SPAN&gt;PositionSource&lt;/SPAN&gt; {}&lt;/PRE&gt;&lt;PRE&gt;                }&lt;/PRE&gt;&lt;PRE&gt;                &lt;SPAN&gt;Map&lt;/SPAN&gt; {&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;initUrl&lt;/SPAN&gt;: &lt;SPAN&gt;"deleted on purpose"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;onOperationalLayersChanged&lt;/SPAN&gt;: {&lt;/PRE&gt;&lt;PRE&gt;                        &lt;SPAN&gt;for&lt;/SPAN&gt; (&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;i&lt;/SPAN&gt; = 0; &lt;SPAN&gt;operationalLayers&lt;/SPAN&gt;.count; &lt;SPAN&gt;i&lt;/SPAN&gt;++) {&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;if&lt;/SPAN&gt; (&lt;SPAN&gt;operationalLayers&lt;/SPAN&gt;.get(&lt;SPAN&gt;i&lt;/SPAN&gt;).name === &lt;SPAN&gt;"ESCAD&lt;/SPAN&gt; &lt;SPAN&gt;Incidents"&lt;/SPAN&gt;) {&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;featureLayer&lt;/SPAN&gt; = &lt;SPAN&gt;operationalLayers&lt;/SPAN&gt;.get(&lt;SPAN&gt;i&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;featureLayer&lt;/SPAN&gt;.refreshInterval = 5000&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;featureLayer&lt;/SPAN&gt;.selectionColor = &lt;SPAN&gt;"#02253A"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;//featureTable&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;featureLayer.featureTable&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;break&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;                            }&lt;/PRE&gt;&lt;PRE&gt;                        }&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;                    }&lt;/PRE&gt;&lt;PRE&gt;                }&lt;/PRE&gt;&lt;PRE&gt;                &lt;SPAN&gt;onMouseClicked&lt;/SPAN&gt;: {&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;attributeView&lt;/SPAN&gt;.height = 0;&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;featureLayer&lt;/SPAN&gt;.clearSelection()&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;identifyLayer&lt;/SPAN&gt;(&lt;SPAN&gt;featureLayer&lt;/SPAN&gt;, &lt;SPAN&gt;mouse&lt;/SPAN&gt;.x, &lt;SPAN&gt;mouse&lt;/SPAN&gt;.y, 15, false)&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;relatedFeaturesModel&lt;/SPAN&gt;.clear();&lt;/PRE&gt;&lt;PRE&gt;                }&lt;/PRE&gt;&lt;PRE&gt;                &lt;SPAN&gt;onIdentifyLayerStatusChanged&lt;/SPAN&gt;: {&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;if&lt;/SPAN&gt; (&lt;SPAN&gt;identifyLayerStatus&lt;/SPAN&gt; === &lt;SPAN&gt;Enums&lt;/SPAN&gt;.TaskStatusCompleted) {&lt;/PRE&gt;&lt;PRE&gt;                        &lt;SPAN&gt;if&lt;/SPAN&gt; (&lt;SPAN&gt;identifyLayerResult&lt;/SPAN&gt;.geoElements.length &amp;gt; 0) {&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;//Retrieve&lt;/SPAN&gt; &lt;SPAN&gt;Feature&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;feature&lt;/SPAN&gt; = &lt;SPAN&gt;identifyLayerResult&lt;/SPAN&gt;.geoElements [0]&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;//select&lt;/SPAN&gt; &lt;SPAN&gt;feature&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;featureLayer&lt;/SPAN&gt;.selectFeature(&lt;SPAN&gt;feature&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;//Get&lt;/SPAN&gt; &lt;SPAN&gt;information&lt;/SPAN&gt; &lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;layer&lt;/SPAN&gt; &lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;masterIncidentNumber&lt;/SPAN&gt; = &lt;SPAN&gt;feature&lt;/SPAN&gt;.attributes.attributeValue(&lt;SPAN&gt;"master_Incident_Number"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;incidentType&lt;/SPAN&gt; = &lt;SPAN&gt;feature&lt;/SPAN&gt;.attributes.attributeValue(&lt;SPAN&gt;"Incident_Type"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;MINDetails&lt;/SPAN&gt; = &lt;SPAN&gt;feature&lt;/SPAN&gt;.attributes.attributeValue(&lt;SPAN&gt;"MIN_Details"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;CrossStreet&lt;/SPAN&gt; = &lt;SPAN&gt;feature&lt;/SPAN&gt;.attributes.attributeValue(&lt;SPAN&gt;"Cross_Street"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;location&lt;/SPAN&gt; = &lt;SPAN&gt;feature&lt;/SPAN&gt;.attributes.attributeValue(&lt;SPAN&gt;"location"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;commandChannel&lt;/SPAN&gt; = &lt;SPAN&gt;feature&lt;/SPAN&gt;.attributes.attributeValue(&lt;SPAN&gt;"Command_Channel"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;tacChannel&lt;/SPAN&gt; = &lt;SPAN&gt;feature&lt;/SPAN&gt;.attributes.attributeValue(&lt;SPAN&gt;"Primary_TAC_Channel"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;longitude&lt;/SPAN&gt; = &lt;SPAN&gt;feature&lt;/SPAN&gt;.attributes.attributeValue(&lt;SPAN&gt;"longitude"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;latitude&lt;/SPAN&gt; = &lt;SPAN&gt;feature&lt;/SPAN&gt;.attributes.attributeValue(&lt;SPAN&gt;"latitude"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;console&lt;/SPAN&gt;.log(&lt;SPAN&gt;"masterIncidentNumber"&lt;/SPAN&gt;, &lt;SPAN&gt;masterIncidentNumber&lt;/SPAN&gt; )&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;console&lt;/SPAN&gt;.log(&lt;SPAN&gt;"location"&lt;/SPAN&gt;, &lt;SPAN&gt;location&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;console&lt;/SPAN&gt;.log(&lt;SPAN&gt;"Incident&lt;/SPAN&gt; &lt;SPAN&gt;Type"&lt;/SPAN&gt;, &lt;SPAN&gt;incidentType&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;console&lt;/SPAN&gt;.log(&lt;SPAN&gt;"MIN_ID"&lt;/SPAN&gt;, &lt;SPAN&gt;MINDetails&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;console&lt;/SPAN&gt;.log(&lt;SPAN&gt;"Cross&lt;/SPAN&gt; &lt;SPAN&gt;Street"&lt;/SPAN&gt;, &lt;SPAN&gt;CrossStreet&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;console&lt;/SPAN&gt;.log(&lt;SPAN&gt;"Command_Channel"&lt;/SPAN&gt;, &lt;SPAN&gt;commandChannel&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;console&lt;/SPAN&gt;.log(&lt;SPAN&gt;"Primary_TAC_Channel"&lt;/SPAN&gt;, &lt;SPAN&gt;tacChannel&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;listElement&lt;/SPAN&gt; = {&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;"masterIncidentNumber"&lt;/SPAN&gt; : &lt;SPAN&gt;masterIncidentNumber&lt;/SPAN&gt;,&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;"location"&lt;/SPAN&gt; : &lt;SPAN&gt;location&lt;/SPAN&gt;,&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;"incidentType"&lt;/SPAN&gt; : &lt;SPAN&gt;incidentType&lt;/SPAN&gt;,&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;"MIN_ID"&lt;/SPAN&gt; : &lt;SPAN&gt;MINDetails&lt;/SPAN&gt;,&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;"crossStreet"&lt;/SPAN&gt; : &lt;SPAN&gt;CrossStreet&lt;/SPAN&gt;,&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;"Command_Channel"&lt;/SPAN&gt; : &lt;SPAN&gt;commandChannel&lt;/SPAN&gt;,&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;"Primary_TAC_Channel"&lt;/SPAN&gt; : &lt;SPAN&gt;tacChannel&lt;/SPAN&gt;,&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;"longitude"&lt;/SPAN&gt; : &lt;SPAN&gt;longitude&lt;/SPAN&gt;,&lt;/PRE&gt;&lt;PRE&gt;                                &lt;SPAN&gt;"latitude"&lt;/SPAN&gt; : &lt;SPAN&gt;latitude&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;                            };&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;relatedFeaturesModel&lt;/SPAN&gt;.append(&lt;SPAN&gt;listElement&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;                            &lt;SPAN&gt;//zoom&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;working&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;                           &lt;SPAN&gt;mapView&lt;/SPAN&gt;.setViewpointGeometryAndPadding(&lt;SPAN&gt;feature&lt;/SPAN&gt;.geometry, 30);&lt;/PRE&gt;&lt;PRE&gt;                        }&lt;/PRE&gt;&lt;PRE&gt;                        &lt;SPAN&gt;attributeView&lt;/SPAN&gt;.height = 200 * &lt;SPAN&gt;scaleFactor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;                    }&lt;/PRE&gt;&lt;PRE&gt;                }&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;                &lt;SPAN&gt;Rectangle&lt;/SPAN&gt; {&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;id&lt;/SPAN&gt;: &lt;SPAN&gt;attributeView&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;                    &lt;SPAN&gt;anchors&lt;/SPAN&gt; {&lt;/PRE&gt;&lt;PRE&gt;                        &lt;SPAN&gt;left&lt;/SPAN&gt;: &lt;SPAN&gt;parent&lt;/SPAN&gt;.left&lt;/PRE&gt;&lt;PRE&gt;                        &lt;SPAN&gt;right&lt;/SPAN&gt;: &lt;SPAN&gt;parent&lt;/SPAN&gt;.right&lt;/PRE&gt;&lt;PRE&gt;                        &lt;SPAN&gt;bottom&lt;/SPAN&gt;: &lt;SPAN&gt;parent&lt;/SPAN&gt;.bottom&lt;/PRE&gt;&lt;PRE&gt;                &amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 03:46:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1021390#M3929</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-01-29T03:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1022231#M3930</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/426765"&gt;@EricAtkinson1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Just to let you know that you can click on the insert code button so that it doesn't break it down into block by block. Will make for more readable code on geonet. Take a look at the picture below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredCaccamo_0-1612200013386.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5028i6757714985503F1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredCaccamo_0-1612200013386.png" alt="JaredCaccamo_0-1612200013386.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't see anything inherently wrong with your workflow to select a feature and zoom to it. I took your general workflow and tested it on some sample data and it works like it should. Which version of ArcGISRuntime are you targeting? Here is my code blow:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import QtQuick 2.6
import QtQuick.Controls 2.2
import Esri.ArcGISRuntime 100.10

ApplicationWindow {
    id: appWindow
    width: 800
    height: 600
    title: "SelectAFeature"

    property FeatureLayer alaskaNationalParks: null

    // add a mapView component
    MapView {
        id: mapView
        anchors.fill: parent
        // set focus to enable keyboard navigation
        focus: true

        // add a map to the mapview
        Map {
            id: map
            initUrl: "https://arcgis.com/home/item.html?id=dcc7466a91294c0ab8f7a094430ab437"

            onLoadStatusChanged: {
                if (loadStatus !== Enums.LoadStatusLoaded)
                    return;

                // get the Alaska National Parks feature layer
                map.operationalLayers.forEach(fl =&amp;gt;
                  {
                      if (fl.name.indexOf("- Alaska National Parks") !== -1) {
                          alaskaNationalParks = fl;
                          print("FL set");
                      }
                  });
            }
        }

        onMouseClicked: {
            alaskaNationalParks.clearSelection()
            identifyLayer(alaskaNationalParks, mouse.x, mouse.y, 15, false);
        }

        onIdentifyLayerStatusChanged: {
            if (error)
                print(error.message);
            if (identifyLayerStatus === Enums.TaskStatusCompleted) {
                if (identifyLayerResult.geoElements.length &amp;gt; 0) {
                    //Retrieve Feature
                    var feature = identifyLayerResult.geoElements[0];
                    //select feature
                    alaskaNationalParks.selectFeature(feature);
                    mapView.setViewpointGeometryAndPadding(feature.geometry, 30);
                }
            }
        }
    }
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Feb 2021 18:47:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1022231#M3930</guid>
      <dc:creator>JaredCaccamo</dc:creator>
      <dc:date>2021-02-01T18:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1022486#M3932</link>
      <description>&lt;P&gt;Thanks for the tip... I'm running it in 100.8.... no errors come up just no auto zoom capability to the feature.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 10:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1022486#M3932</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-02-02T10:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1022491#M3933</link>
      <description>&lt;P&gt;Is there's maybe a Onmouseclicked or onclicked line of code I can use instead?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 11:28:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1022491#M3933</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-02-02T11:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1031647#M3982</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/426765"&gt;@EricAtkinson1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I apologize for not responding sooner. I just checked the code with 100.8 and it successfully changes the extent of the mapview to that of the selected features. Might I suggest checking the extent of your feature? The code you are using is correct, my guess is that the features extent is not what you are expecting which is why there is no perceived zoom animation.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 20:25:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1031647#M3982</guid>
      <dc:creator>JaredCaccamo</dc:creator>
      <dc:date>2021-03-01T20:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1031848#M3985</link>
      <description>&lt;P&gt;Thanks I'll have a look. My confusion is that when I put the app into navigation mode it zooms to location or when I search for a feature it zooms to extent....&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1031848#M3985</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-03-02T10:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1035322#M3994</link>
      <description>&lt;P&gt;Hi Jared,&lt;/P&gt;&lt;P&gt;Still having issues and its not an extent issue. I have similar code in my App (mapView.locationDisplay.autoPanMode = Enums.LocationDisplayAutoPanModeRecenter; ) and it zooms to location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tired my featureLayer in the code below and also locationDisplay in the code below but it still doesn't work including no error messaged.&lt;/P&gt;&lt;P&gt;mapView.setViewpointGeometryAndPadding(feature.geometry, 30);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 04:35:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1035322#M3994</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-03-11T04:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1039620#M4014</link>
      <description>&lt;P&gt;Hey guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still really stuck... I feel like this is a simple fix but i've been stuck on this. I've attached the code i'm using and I feel like I might not be connecting the&amp;nbsp;setViewpointGeometryAndPadding correctly.&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;onIdentifyLayerStatusChanged: {
                    if (identifyLayerStatus === Enums.TaskStatusCompleted) {
                        if (identifyLayerResult.geoElements.length &amp;gt; 0) {
                            //Retrieve Feature
                            var feature = identifyLayerResult.geoElements [0]
                            //select feature
                            featureLayer.selectFeature(feature)
                            //Get information from layer ESCAD

                            var masterIncidentNumber = feature.attributes.attributeValue("master_Incident_Number")
                            var incidentType = feature.attributes.attributeValue("Incident_Type")
                            var MINDetails = feature.attributes.attributeValue("MIN_Details")
                            var CrossStreet = feature.attributes.attributeValue("Cross_Street")
                            var location = feature.attributes.attributeValue("location")
                            var commandChannel = feature.attributes.attributeValue("Command_Channel")
                            var tacChannel = feature.attributes.attributeValue("Primary_TAC_Channel")
                            var longitude = feature.attributes.attributeValue("longitude")
                            var latitude = feature.attributes.attributeValue("latitude")

                            console.log("masterIncidentNumber", masterIncidentNumber )
                            console.log("location", location)
                            console.log("Incident Type", incidentType)
                            console.log("MIN_ID", MINDetails)
                            console.log("Cross Street", CrossStreet)
                            console.log("Command_Channel", commandChannel)
                            console.log("Primary_TAC_Channel", tacChannel)
                            var listElement = {
                                "masterIncidentNumber" : masterIncidentNumber,
                                "location" : location,
                                "incidentType" : incidentType,
                                "MIN_ID" : MINDetails,
                                "crossStreet" : CrossStreet,
                                "Command_Channel" : commandChannel,
                                "Primary_TAC_Channel" : tacChannel,
                                "longitude" : longitude,
                                "latitude" : latitude
                            };
                            mapView.setViewpointGeometryAndPadding(feature.geometry,100);
                            attributeView.height = 200
                            relatedFeaturesModel.append(listElement);
                            //drawerMenu.height = 0
                            search.visible = false
                            callout.visible = false&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 02:12:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1039620#M4014</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-03-23T02:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1039634#M4015</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/426765"&gt;@EricAtkinson1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you possibly zip up a reproducible project?(preferably simplified to the the function in question&amp;nbsp; MapView.setViewpointGeometryAndPadding and the minimum supporting code to reproduce the problem). Also could you possibly try the latest version of the SDK to see if this is still a problem at the current release? You can also utilize the sample data above that I used if providing your data is not an option.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 03:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1039634#M4015</guid>
      <dc:creator>JaredCaccamo</dc:creator>
      <dc:date>2021-03-23T03:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1043273#M4030</link>
      <description>&lt;P&gt;Hey Jared,&lt;/P&gt;&lt;P&gt;I've been really trying to solve this myself but no deal. I have attached a zip file with my partial code (where i believe the issue is) in with your original code. All my other features are working including searching address and it zooms to that location. I have attached a screenshot of my app for understanding of what I am trying to achieve (zoom into in feature on selecting).&lt;/P&gt;&lt;P&gt;&amp;nbsp;Everything else works just for some reason the zoom to feature.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 02:05:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1043273#M4030</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-04-02T02:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to layer issue using appStudio QT</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1047491#M4045</link>
      <description>&lt;P&gt;I figured it out. Thanks for all your help&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;mapView&lt;/SPAN&gt;.setViewpointCenterAndScale(&lt;SPAN&gt;feature&lt;/SPAN&gt;.geometry, 1000);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 11:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/zoom-to-layer-issue-using-appstudio-qt/m-p/1047491#M4045</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-04-15T11:21:17Z</dc:date>
    </item>
  </channel>
</rss>

