<?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: SceneView only renders one vtpk even if multiple vtpk layers added to basemap in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/sceneview-only-renders-one-vtpk-even-if-multiple/m-p/1549052#M5344</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/355965"&gt;@KoushikHajra&lt;/a&gt;&amp;nbsp;Thank you for looking into this.&lt;BR /&gt;Even adding all&amp;nbsp;ArcGISVectorTiledLayer to the operation layers of the scene instead of the base layers results in only one layer being rendered.&lt;BR /&gt;Also adding 1 layer to the base layers and one layer to the operational layers results in only 1 layer being rendered. When multiple ArcGISVectorTiledLayer are added only the top most layer is rendered in scene view.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2024 14:55:41 GMT</pubDate>
    <dc:creator>imbachb</dc:creator>
    <dc:date>2024-10-16T14:55:41Z</dc:date>
    <item>
      <title>SceneView only renders one vtpk even if multiple vtpk layers added to basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/sceneview-only-renders-one-vtpk-even-if-multiple/m-p/1546435#M5323</link>
      <description>&lt;P&gt;We discovered that we can only display 1 vtpk file in a scene view. If we add multiple vtpks as &lt;STRONG&gt;ArcGISVectorTiledLayer&lt;/STRONG&gt; to a scene's basemap, then only one layer is rendered. Using a MapView instead and loading the vtpk files the exact same way does not have this issue.&lt;BR /&gt;Is this a general limitation of the SceneView? Would it work if we used multiple&amp;nbsp;&lt;SPAN&gt;tpkx (&lt;STRONG&gt;ArcGISTiledLayer&lt;/STRONG&gt;) instead?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We load the layers like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;auto scene = new Scene();
auto sceneBasemap = new Basemap(scene);
for (const auto&amp;amp; layerFilePath : layerFilePaths) {
	auto vectorTileCache = new VectorTileCache(QString::fromStdString(layerFilePath), parent);
	auto layer = new ArcGISVectorTiledLayer(vectorTileCache, parent);
	if (layer) {
		basemap-&amp;gt;baseLayers()-&amp;gt;append(layer);
	}
}

scene-&amp;gt;setBasemap(sceneBasemap);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result:&lt;BR /&gt;Scene View (only one vtpk is shown)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="radimbachb_0-1728377556571.png" style="width: 645px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116702i77F56585F1BFC276/image-dimensions/645x271?v=v2" width="645" height="271" role="button" title="radimbachb_0-1728377556571.png" alt="radimbachb_0-1728377556571.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;MapView (all vtpks are shown)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="radimbachb_1-1728377571862.png" style="width: 641px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116703i1BB1E99DD2FD47E1/image-dimensions/641x282?v=v2" width="641" height="282" role="button" title="radimbachb_1-1728377571862.png" alt="radimbachb_1-1728377571862.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We use ArcGIS SDK for Qt 200.5.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 09:01:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/sceneview-only-renders-one-vtpk-even-if-multiple/m-p/1546435#M5323</guid>
      <dc:creator>imbachb</dc:creator>
      <dc:date>2024-10-08T09:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: SceneView only renders one vtpk even if multiple vtpk layers added to basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/sceneview-only-renders-one-vtpk-even-if-multiple/m-p/1547242#M5325</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/710993"&gt;@imbachb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to us with your problem. There is no known limitation as far as using multiple vtpk's in 3D. But if this is not working for you, we might have an issue on our end and would need to look at it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, could you try adding the vtpk's to the operational layer list of the scene and see if that works? It could be a viable workaround if that works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the meantime, I am going to log an issue for us to look into the problem.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Koushik&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 18:06:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/sceneview-only-renders-one-vtpk-even-if-multiple/m-p/1547242#M5325</guid>
      <dc:creator>KoushikHajra</dc:creator>
      <dc:date>2024-10-09T18:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: SceneView only renders one vtpk even if multiple vtpk layers added to basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/sceneview-only-renders-one-vtpk-even-if-multiple/m-p/1549052#M5344</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/355965"&gt;@KoushikHajra&lt;/a&gt;&amp;nbsp;Thank you for looking into this.&lt;BR /&gt;Even adding all&amp;nbsp;ArcGISVectorTiledLayer to the operation layers of the scene instead of the base layers results in only one layer being rendered.&lt;BR /&gt;Also adding 1 layer to the base layers and one layer to the operational layers results in only 1 layer being rendered. When multiple ArcGISVectorTiledLayer are added only the top most layer is rendered in scene view.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 14:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/sceneview-only-renders-one-vtpk-even-if-multiple/m-p/1549052#M5344</guid>
      <dc:creator>imbachb</dc:creator>
      <dc:date>2024-10-16T14:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: SceneView only renders one vtpk even if multiple vtpk layers added to basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/sceneview-only-renders-one-vtpk-even-if-multiple/m-p/1558397#M5373</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/710993"&gt;@imbachb&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This looks like a bug on our end and I have logged an issue to look into it. Thank you for bringing it to our attention.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 00:27:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/sceneview-only-renders-one-vtpk-even-if-multiple/m-p/1558397#M5373</guid>
      <dc:creator>KoushikHajra</dc:creator>
      <dc:date>2024-11-14T00:27:23Z</dc:date>
    </item>
  </channel>
</rss>

