<?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 URL of a MapLayer in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/url-of-a-maplayer/m-p/433762#M3714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do I get the URL of an AGSLayer (FeatureLayer, DynamicLayer) object?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find the property or method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ie. add a bunch of layers via an Add Layer panel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Later, a method wants to list the names and urls of the MapLayers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2012 15:05:43 GMT</pubDate>
    <dc:creator>RickJones</dc:creator>
    <dc:date>2012-08-16T15:05:43Z</dc:date>
    <item>
      <title>URL of a MapLayer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/url-of-a-maplayer/m-p/433762#M3714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do I get the URL of an AGSLayer (FeatureLayer, DynamicLayer) object?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find the property or method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ie. add a bunch of layers via an Add Layer panel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Later, a method wants to list the names and urls of the MapLayers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 15:05:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/url-of-a-maplayer/m-p/433762#M3714</guid>
      <dc:creator>RickJones</dc:creator>
      <dc:date>2012-08-16T15:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: URL of a MapLayer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/url-of-a-maplayer/m-p/433763#M3715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'll have to check the type of layer and then cast layer to the respective type to get the URL. Like this...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if ([layer isKindOfClass:[AGSFeatureLayer class]]) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSFeatureLayer *fl = (AGSFeatureLayer*)layer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSLog(@"Feature Layer URL: %@",fl.URL);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 15:11:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/url-of-a-maplayer/m-p/433763#M3715</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-08-16T15:11:13Z</dc:date>
    </item>
  </channel>
</rss>

