<?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: Unable to show feature layer through IOS arcgis runtime sdk in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-show-feature-layer-through-ios-arcgis/m-p/582130#M5004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, David. Now I am able to see layer.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: small;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to show above layer and basemap as an offline mode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2017 14:45:49 GMT</pubDate>
    <dc:creator>DasNobel</dc:creator>
    <dc:date>2017-03-20T14:45:49Z</dc:date>
    <item>
      <title>Unable to show feature layer through IOS arcgis runtime sdk</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-show-feature-layer-through-ios-arcgis/m-p/582128#M5002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using below code to show feature layer but it is not showing in ios app. I have created this feature layer through arcgis&amp;nbsp;online.&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//initialize map with basemap&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; map = &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSMap&lt;/SPAN&gt;&lt;SPAN class=""&gt;(basemap: &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSBasemap&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;streetsBasemap&lt;/SPAN&gt;&lt;SPAN class=""&gt;())&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//assign map to the map view&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mapView&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;map&lt;/SPAN&gt;&lt;SPAN class=""&gt; = map&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//initialize service feature table using url&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; featureTable = &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSServiceFeatureTable&lt;/SPAN&gt;&lt;SPAN class=""&gt;(URL: &lt;/SPAN&gt;&lt;SPAN class=""&gt;NSURL&lt;/SPAN&gt;&lt;SPAN class=""&gt;(string: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices7.arcgis.com%2FJRY73mi2cJ1KeR7T%2Farcgis%2Frest%2Fservices%2FNewYorkHospitalLayer%2FFeatureServer" rel="nofollow" target="_blank"&gt;https://services7.arcgis.com/JRY73mi2cJ1KeR7T/arcgis/rest/services/NewYorkHospitalLayer/FeatureServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)!)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//create a feature layer&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; featureLayer = &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSFeatureLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt;(featureTable: featureTable)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//add the feature layer to the operational layers&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;map.&lt;/SPAN&gt;&lt;SPAN class=""&gt;operationalLayers&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;addObject&lt;/SPAN&gt;&lt;SPAN class=""&gt;(featureLayer)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 12:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-show-feature-layer-through-ios-arcgis/m-p/582128#M5002</guid>
      <dc:creator>DasNobel</dc:creator>
      <dc:date>2017-03-17T12:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to show feature layer through IOS arcgis runtime sdk</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-show-feature-layer-through-ios-arcgis/m-p/582129#M5003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to specify specific layer inside featureService&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; featureTable = &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSServiceFeatureTable&lt;/SPAN&gt;&lt;SPAN class=""&gt;(url: &lt;/SPAN&gt;&lt;SPAN class=""&gt;URL&lt;/SPAN&gt;&lt;SPAN class=""&gt;(string: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices7.arcgis.com%2FJRY73mi2cJ1KeR7T%2Farcgis%2Frest%2Fservices%2FNewYorkHospitalLayer%2FFeatureServer%2F0" rel="nofollow" target="_blank"&gt;https://services7.arcgis.com/JRY73mi2cJ1KeR7T/arcgis/rest/services/NewYorkHospitalLayer/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)!)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;David&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 14:29:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-show-feature-layer-through-ios-arcgis/m-p/582129#M5003</guid>
      <dc:creator>DavidLednik</dc:creator>
      <dc:date>2017-03-17T14:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to show feature layer through IOS arcgis runtime sdk</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-show-feature-layer-through-ios-arcgis/m-p/582130#M5004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, David. Now I am able to see layer.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: small;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to show above layer and basemap as an offline mode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 14:45:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-show-feature-layer-through-ios-arcgis/m-p/582130#M5004</guid>
      <dc:creator>DasNobel</dc:creator>
      <dc:date>2017-03-20T14:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to show feature layer through IOS arcgis runtime sdk</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-show-feature-layer-through-ios-arcgis/m-p/582131#M5005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Das,&lt;/P&gt;&lt;P&gt;You can load basemap offline mode by creating a tpk file. For more information please check this:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/10-2/swift/guide/local-tiled-layer.htm" title="https://developers.arcgis.com/ios/10-2/swift/guide/local-tiled-layer.htm"&gt;ArcGIS Local Tiled layer—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the &lt;SPAN&gt;featureLayer &lt;/SPAN&gt;in offline mode, you need to prepare the data for offline mode, basically enable the sync functions and then you can either choose view-only or editable offline data based on your requirement.&lt;/P&gt;&lt;P&gt;For more information about featureLayer offline, please check: &lt;A class="link-titled" href="https://developers.arcgis.com/ios/10-2/swift/guide/create-an-offline-map.htm" title="https://developers.arcgis.com/ios/10-2/swift/guide/create-an-offline-map.htm"&gt;Create an offline map—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help.&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 18:16:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/unable-to-show-feature-layer-through-ios-arcgis/m-p/582131#M5005</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2017-03-20T18:16:00Z</dc:date>
    </item>
  </channel>
</rss>

