<?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: The ArcGIS type LocationDisplay is not creatable in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773629#M539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upgrading from AppStudio 1.0 to AppStudio 4.2 is a huge jump, there are a lot of libraries that might be deprecated already. This error specifically is I think related to the different version of &lt;A href="https://community.esri.com/space/2136"&gt;ArcGIS Runtime SDK for Qt&lt;/A&gt;‌ from 10.2.x to 100.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the documentation related to the Map View and Location Display object on the latest ArcGIS Runtime SDK for Qt,&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Sample,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/sample-code/display-device-location/" title="https://developers.arcgis.com/qt/latest/qml/sample-code/display-device-location/"&gt;Display device location | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- LocationDisplay Object,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html" title="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html"&gt;LocationDisplay QML Type | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement from the LocationDisplay doc might help you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Each&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mapview.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;MapView&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;has its own instance of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;LocationDisplay&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;. This means that you don't have to explicitly instantiate&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;LocationDisplay&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;, but rather, a newly created&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mapview.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;MapView&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;already has a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;LocationDisplay&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that should be used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful,&lt;/P&gt;&lt;P&gt;Erwin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2020 20:27:09 GMT</pubDate>
    <dc:creator>ErwinSoekianto</dc:creator>
    <dc:date>2020-05-05T20:27:09Z</dc:date>
    <item>
      <title>The ArcGIS type LocationDisplay is not creatable</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773628#M538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not so experience with programming, I built a custom app with appstudio for arcgis 1.0 and on the process of the upgrade to appstudio for arcgis 4.2 some modules and classes have changed. I not that familiar with all the changes. Now I am getting a error message "the arcgis type location display is not creatable"&lt;/P&gt;&lt;P&gt;here is part of the code where i get the error message.&lt;BR /&gt;onLoadStatusChanged: {&lt;/P&gt;&lt;P&gt;if (loadStatus === Enums.LoadStatusLoaded) {&lt;BR /&gt; mapView.locationDisplay.autoPanMode = Enums.LocationDisplayAutoPanModeRecenter;&lt;BR /&gt; mapView.locationDisplay.start();&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;// onLoadStatusChanged: {&lt;BR /&gt; // if (status === Enums.MapStatusReady) {&lt;BR /&gt; // positionSource.active = true;&lt;BR /&gt; // }&lt;BR /&gt; // }&lt;BR /&gt; //CREATE USER POSITION DISPLAY modified 042120&lt;/P&gt;&lt;P&gt;LocationDisplay {&lt;BR /&gt; id: locationDisplay&lt;BR /&gt; positionSource: PositionSource {&lt;BR /&gt; id: positionSource&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 12:51:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773628#M538</guid>
      <dc:creator>RaulLeos</dc:creator>
      <dc:date>2020-05-05T12:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: The ArcGIS type LocationDisplay is not creatable</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773629#M539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upgrading from AppStudio 1.0 to AppStudio 4.2 is a huge jump, there are a lot of libraries that might be deprecated already. This error specifically is I think related to the different version of &lt;A href="https://community.esri.com/space/2136"&gt;ArcGIS Runtime SDK for Qt&lt;/A&gt;‌ from 10.2.x to 100.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the documentation related to the Map View and Location Display object on the latest ArcGIS Runtime SDK for Qt,&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Sample,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/sample-code/display-device-location/" title="https://developers.arcgis.com/qt/latest/qml/sample-code/display-device-location/"&gt;Display device location | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- LocationDisplay Object,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html" title="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html"&gt;LocationDisplay QML Type | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement from the LocationDisplay doc might help you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Each&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mapview.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;MapView&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;has its own instance of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;LocationDisplay&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;. This means that you don't have to explicitly instantiate&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;LocationDisplay&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;, but rather, a newly created&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mapview.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;MapView&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;already has a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-locationdisplay.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;LocationDisplay&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that should be used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful,&lt;/P&gt;&lt;P&gt;Erwin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 20:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773629#M539</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-05-05T20:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: The ArcGIS type LocationDisplay is not creatable</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773630#M540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for the explanation, this really worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 20:29:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773630#M540</guid>
      <dc:creator>RaulLeos</dc:creator>
      <dc:date>2020-05-11T20:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: The ArcGIS type LocationDisplay is not creatable</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773631#M541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to capture data and getting this error message. Need help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyApp.qml:243: ReferenceError: positionDisplay is not defined&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 21:51:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773631#M541</guid>
      <dc:creator>RaulLeos</dc:creator>
      <dc:date>2020-05-11T21:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: The ArcGIS type LocationDisplay is not creatable</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773632#M542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raul,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think positionDisplay was available in ArcGIS Runtime version 10.2 &lt;A class="link-titled" href="https://developers.arcgis.com/qt/10-2/qml/guide/position-display.htm" title="https://developers.arcgis.com/qt/10-2/qml/guide/position-display.htm"&gt;Position display—ArcGIS Runtime SDK for Qt | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;, but no longer in version 100.x ,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/guide/migrate-to-100-x-from-10-2-x.htm" title="https://developers.arcgis.com/qt/latest/qml/guide/migrate-to-100-x-from-10-2-x.htm"&gt;Migrate to 100.x from 10.2.x—ArcGIS Runtime SDK for Qt | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should remove or replace it with the library that is available in version 100.x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 23:03:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773632#M542</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2020-05-11T23:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: The ArcGIS type LocationDisplay is not creatable</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773633#M543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here again, I was able to build application with some referenceErrors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On executing the Mobile App&lt;/P&gt;&lt;P&gt;First one - userCredText is not defined&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/492242_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Second - Unable to assign [undefined] to int&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/492238_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On performing field collection I get this&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cannot read property 'x' of undefined&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/492243_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your assistance will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 21:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/the-arcgis-type-locationdisplay-is-not-creatable/m-p/773633#M543</guid>
      <dc:creator>RaulLeos</dc:creator>
      <dc:date>2020-05-14T21:34:49Z</dc:date>
    </item>
  </channel>
</rss>

