<?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 Accessing Custom Basemaps Through AuGeo Template Using AppStudio in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/accessing-custom-basemaps-through-augeo-template/m-p/1089616#M4036</link>
    <description>&lt;P&gt;I am using AppStudio to create a custom version of AuGeo to use some custom historical basemaps that my organization has hosted. It looks like the list of basemaps the app pulls from is a read only property (supportedMapTypes), so I am unclear as to how I should be connecting to my own basemaps.&amp;nbsp; Is there any way to edit this function, or just manually point the app to my basemaps? I am unclear as to how this should be done because I cannot locate where those supported map types are defined.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have searched for people with similar problems and I didn't really find anything, perhaps I am searching for the wrong terms? If anyone has any suggestions on how to solve this or even just what I should be looking for that would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Wed, 18 Aug 2021 17:07:18 GMT</pubDate>
    <dc:creator>GSpike</dc:creator>
    <dc:date>2021-08-18T17:07:18Z</dc:date>
    <item>
      <title>Accessing Custom Basemaps Through AuGeo Template Using AppStudio</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/accessing-custom-basemaps-through-augeo-template/m-p/1089616#M4036</link>
      <description>&lt;P&gt;I am using AppStudio to create a custom version of AuGeo to use some custom historical basemaps that my organization has hosted. It looks like the list of basemaps the app pulls from is a read only property (supportedMapTypes), so I am unclear as to how I should be connecting to my own basemaps.&amp;nbsp; Is there any way to edit this function, or just manually point the app to my basemaps? I am unclear as to how this should be done because I cannot locate where those supported map types are defined.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have searched for people with similar problems and I didn't really find anything, perhaps I am searching for the wrong terms? If anyone has any suggestions on how to solve this or even just what I should be looking for that would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 17:07:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/accessing-custom-basemaps-through-augeo-template/m-p/1089616#M4036</guid>
      <dc:creator>GSpike</dc:creator>
      <dc:date>2021-08-18T17:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Custom Basemaps Through AuGeo Template Using AppStudio</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/accessing-custom-basemaps-through-augeo-template/m-p/1092071#M4039</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/512585"&gt;@GSpike&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The AuGeo template is not using ArcGIS Runtime SDK Map and MapView object, it is using QtLocation Map Object.&lt;/P&gt;&lt;P&gt;Option 1:&lt;/P&gt;&lt;P&gt;- To replace the QtLocation Map component to ArcGIS Runtime SDK Map, I think this is not a simple project but doable, and it is pretty straightforward to load ArcGIS Org basemap.&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/qml/sample-code/show-organization-basemaps/" target="_blank"&gt;https://developers.arcgis.com/qt/qml/sample-code/show-organization-basemaps/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option 2:&lt;/P&gt;&lt;P&gt;To show load custom basemap that is available in Qt Map component. Please see these references on QtLocation to open different basemap.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;A href="https://www.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin" target="_blank"&gt;https://www.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.qt.io/blog/2017/03/09/provisioning-openstreetmap-providers-in-qtlocation" target="_blank"&gt;https://www.qt.io/blog/2017/03/09/provisioning-openstreetmap-providers-in-qtlocation&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://doc.qt.io/qt-5/location-plugin-osm.html#parameters" target="_blank"&gt;https://doc.qt.io/qt-5/location-plugin-osm.html#parameters&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;To load offline maps, replace the lines 296-298 in the file Pages/MapPage.qml (shown below)&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;                plugin: Plugin {
                    preferred: ["AppStudio"]
                }&lt;/PRE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;with&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;               plugin: Plugin {
                        name: "osm"
 
                        PluginParameter {
                            name: 'osm.mapping.offline.directory'
                            value: './offline_tiles/'
                        }
                } &lt;/PRE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;This requires that the offline basemap tiles are stored in the directory `./offline_tiles`. Once the map tiles are available, the custom map can be selected through the map types popup in the app.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I hope this is helpful,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 01:15:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/accessing-custom-basemaps-through-augeo-template/m-p/1092071#M4039</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2021-08-25T01:15:27Z</dc:date>
    </item>
  </channel>
</rss>

