<?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 Display a web map in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/display-a-web-map/m-p/1191833#M6292</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need help regarding a couple of different things , related to the Display a web map tutorial-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1:&lt;/P&gt;&lt;P&gt;Can someone please verify if the tutorial for displaying a web map is appropriate?&lt;/P&gt;&lt;P&gt;Link: &lt;A href="https://developers.arcgis.com/qt/maps-2d/tutorials/display-a-web-map/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/qt/maps-2d/tutorials/display-a-web-map/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following this tutorial for Qt C++.&lt;/P&gt;&lt;P&gt;In the section - Initialize the map using a web map&lt;/P&gt;&lt;P&gt;Step 2 of the tutorial instructs to remove the following line:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;m_map(new Map(BasemapStyle::ArcGISTopographic, this))&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;However,&amp;nbsp; if you expand the &lt;SPAN class=""&gt;Display_a_map.cpp code snippet in the Step 3 of the tutorial, this line has not actually been removed.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2:&lt;/P&gt;&lt;P&gt;I have created my own web map with the Map Viewer application.&lt;/P&gt;&lt;P&gt;A screenshot from my account:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RitvikRanadive_0-1657709277791.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45789i9DA44CC51F9C8F09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RitvikRanadive_0-1657709277791.png" alt="RitvikRanadive_0-1657709277791.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am trying to display this web map using the tutorial.&lt;/P&gt;&lt;P&gt;The only thing I changed in the code of the tutorial was the item_id in Step 3 of the section - Initialize the map using a web map.&lt;/P&gt;&lt;P&gt;When I build and run the code, the window in which the map is displayed is empty. This can be seen in the screenshot below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RitvikRanadive_1-1657709519182.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45790i9A359D599468C5E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RitvikRanadive_1-1657709519182.png" alt="RitvikRanadive_1-1657709519182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, immediately after this if I check my account again, the View Count for this map has increased.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RitvikRanadive_2-1657709575620.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45791i26FD2482E58E5D3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RitvikRanadive_2-1657709575620.png" alt="RitvikRanadive_2-1657709575620.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me out in debugging the issue? Please find a minimal example attached in the .zip file, although I am not sure if the map can be accessed without my API Key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ritvik&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 11:10:50 GMT</pubDate>
    <dc:creator>RitvikRanadive</dc:creator>
    <dc:date>2022-07-13T11:10:50Z</dc:date>
    <item>
      <title>Display a web map</title>
      <link>https://community.esri.com/t5/developers-questions/display-a-web-map/m-p/1191833#M6292</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need help regarding a couple of different things , related to the Display a web map tutorial-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1:&lt;/P&gt;&lt;P&gt;Can someone please verify if the tutorial for displaying a web map is appropriate?&lt;/P&gt;&lt;P&gt;Link: &lt;A href="https://developers.arcgis.com/qt/maps-2d/tutorials/display-a-web-map/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/qt/maps-2d/tutorials/display-a-web-map/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following this tutorial for Qt C++.&lt;/P&gt;&lt;P&gt;In the section - Initialize the map using a web map&lt;/P&gt;&lt;P&gt;Step 2 of the tutorial instructs to remove the following line:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;m_map(new Map(BasemapStyle::ArcGISTopographic, this))&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;However,&amp;nbsp; if you expand the &lt;SPAN class=""&gt;Display_a_map.cpp code snippet in the Step 3 of the tutorial, this line has not actually been removed.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2:&lt;/P&gt;&lt;P&gt;I have created my own web map with the Map Viewer application.&lt;/P&gt;&lt;P&gt;A screenshot from my account:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RitvikRanadive_0-1657709277791.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45789i9DA44CC51F9C8F09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RitvikRanadive_0-1657709277791.png" alt="RitvikRanadive_0-1657709277791.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am trying to display this web map using the tutorial.&lt;/P&gt;&lt;P&gt;The only thing I changed in the code of the tutorial was the item_id in Step 3 of the section - Initialize the map using a web map.&lt;/P&gt;&lt;P&gt;When I build and run the code, the window in which the map is displayed is empty. This can be seen in the screenshot below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RitvikRanadive_1-1657709519182.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45790i9A359D599468C5E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RitvikRanadive_1-1657709519182.png" alt="RitvikRanadive_1-1657709519182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, immediately after this if I check my account again, the View Count for this map has increased.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RitvikRanadive_2-1657709575620.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45791i26FD2482E58E5D3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RitvikRanadive_2-1657709575620.png" alt="RitvikRanadive_2-1657709575620.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me out in debugging the issue? Please find a minimal example attached in the .zip file, although I am not sure if the map can be accessed without my API Key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ritvik&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 11:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/display-a-web-map/m-p/1191833#M6292</guid>
      <dc:creator>RitvikRanadive</dc:creator>
      <dc:date>2022-07-13T11:10:50Z</dc:date>
    </item>
  </channel>
</rss>

