<?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: How to Display WebMap Using Web Map Specification in 100.10 ? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1030914#M6941</link>
    <description>&lt;P&gt;Thank you so much, this works for me.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 10:07:50 GMT</pubDate>
    <dc:creator>RishabSahu</dc:creator>
    <dc:date>2021-02-26T10:07:50Z</dc:date>
    <item>
      <title>How to Display WebMap Using Web Map Specification in 100.10 ?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1024963#M6919</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am new to the ArcGIS community, I Need Help!&lt;/P&gt;&lt;P&gt;How we can load web map using&amp;nbsp;Web Map Specification or how we can initialize web map using JSON in the new ArcGIS 100.10 framework.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 17:35:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1024963#M6919</guid>
      <dc:creator>RishabSahu</dc:creator>
      <dc:date>2021-02-09T17:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display WebMap Using Web Map Specification in 100.10 ?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1025064#M6920</link>
      <description>&lt;P&gt;Do you need to load the JSON, or do you just need top open a web map?&lt;/P&gt;&lt;P&gt;If you just need to open a web map, you can see this tutorial:&amp;nbsp;&lt;A href="https://developers.arcgis.com/ios/maps-2d/tutorials/display-a-web-map/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/ios/maps-2d/tutorials/display-a-web-map/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you need to take web map JSON and work with that directly, you can also use &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_map.html" target="_self"&gt;&lt;STRONG&gt;AGSMap.fromJSON()&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 22:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1025064#M6920</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2021-02-09T22:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display WebMap Using Web Map Specification in 100.10 ?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1027809#M6936</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;While using&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_map.html" target="_self" rel="nofollow noopener noreferrer"&gt;AGSMap.fromJSON()&lt;/A&gt;, unable to open map in mobile.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;maybe this is occurring due to credentials, if yes then could you please share some samples how we can set credentials to the map.&lt;BR /&gt;attaching sample code:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;do&lt;/SPAN&gt; {&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;let&lt;/SPAN&gt; test = &lt;SPAN class="s1"&gt;try&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;AGSMap&lt;/SPAN&gt;.&lt;SPAN class="s3"&gt;fromJSON&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;self&lt;/SPAN&gt;.&lt;SPAN class="s3"&gt;mapJSON&lt;/SPAN&gt;![&lt;SPAN class="s4"&gt;"itemData"&lt;/SPAN&gt;] &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;Any&lt;/SPAN&gt;)&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;print&lt;/SPAN&gt;(test)&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;self&lt;/SPAN&gt;.&lt;SPAN class="s3"&gt;mapView&lt;/SPAN&gt;.&lt;SPAN class="s3"&gt;map&lt;/SPAN&gt; = test &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt;? &lt;SPAN class="s2"&gt;AGSMap&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;} &lt;SPAN class="s1"&gt;catch&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;{&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;print&lt;/SPAN&gt;(error)&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 20:34:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1027809#M6936</guid>
      <dc:creator>RishabSahu</dc:creator>
      <dc:date>2021-02-17T20:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display WebMap Using Web Map Specification in 100.10 ?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1027827#M6937</link>
      <description>&lt;P&gt;It's hard to know without understanding how you are getting the JSON. Can you explain a little about that please? Where is the JSON coming from? How are you reading it?&lt;/P&gt;&lt;P&gt;But you could try a couple of things:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Load the AGSMap to see what loadError you get, if any. You would call test.load() and handle the error in the completion block. See&amp;nbsp;&lt;A href="https://developers.arcgis.com/ios/programming-patterns/loadable/" target="_blank"&gt;https://developers.arcgis.com/ios/programming-patterns/loadable/&lt;/A&gt;&amp;nbsp;for more details.&lt;/LI&gt;&lt;LI&gt;Check the traffic that's being sent and received. Try setting &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_request_configuration.html#acfb42eca3a24250608085a568e256f85" target="_self"&gt;&lt;STRONG&gt;AGSRequestConfiguration.global().debugLogRequests&lt;/STRONG&gt;&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_request_configuration.html#a8533fcff312dd250b4bdcfb43320fa7c" target="_self"&gt;&lt;STRONG&gt;debugLogResponses&lt;/STRONG&gt;&lt;/A&gt; to true. You will see network traffic in the Xcode console.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;However, I would still like to understand how you are getting the JSON and whether you can just create an &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_portal_item.html" target="_self"&gt;&lt;STRONG&gt;AGSPortalItem&lt;/STRONG&gt;&lt;/A&gt; and construct the &lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_map.html" target="_self"&gt;AGSMap&lt;/A&gt;&lt;/STRONG&gt; from that.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 21:23:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1027827#M6937</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2021-02-17T21:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display WebMap Using Web Map Specification in 100.10 ?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1030914#M6941</link>
      <description>&lt;P&gt;Thank you so much, this works for me.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 10:07:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-display-webmap-using-web-map-specification/m-p/1030914#M6941</guid>
      <dc:creator>RishabSahu</dc:creator>
      <dc:date>2021-02-26T10:07:50Z</dc:date>
    </item>
  </channel>
</rss>

