<?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: Accessing Map service info? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468099#M4015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Use this way:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
AGSMapServiceInfo *serviceInfo = [[AGSMapServiceInfo alloc] initWithURLSynchronous:[NSURL URLWithString:aLayer.url]]; 
AGSDynamicMapServiceLayer *dynLayer = [[AGSDynamicMapServiceLayer alloc] initWithMapServiceInfo:serviceInfo]; 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so when you access to dynLayer.mapServiceInfo it will be not empty.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the new API 1.0 this is not works me, previusly with the Beta versions It is works perfectly, but now no, someone knows?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Koldo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:44:54 GMT</pubDate>
    <dc:creator>KOLDODUARTE</dc:creator>
    <dc:date>2021-12-11T20:44:54Z</dc:date>
    <item>
      <title>Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468096#M4012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to read the visible status of individual layers in a map service at start up so I can set if they are visible or not, but I am having no luck accessing the Map Service Info, here is my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; // Get indexes of visible layers
 AGSMapServiceInfo *dynaServiceInfo = self.dynamicLayer.mapServiceInfo;
 AGSMapServiceLayerInfo *dynaLayerInfo;
 NSMutableArray *visibleLayers = [NSMutableArray arrayWithCapacity:[dynaServiceInfo.layerInfos count]];
 for (int i = 0; i &amp;lt; [dynaServiceInfo.layerInfos count]; i++) {
&amp;nbsp; dynaLayerInfo = [dynaServiceInfo.layerInfos objectAtIndex:i];
&amp;nbsp; if (dynaLayerInfo.visible == YES) {
&amp;nbsp;&amp;nbsp; [visibleLayers addObject:[[NSNumber alloc] initWithInt:i]];
&amp;nbsp; }
 }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My AGSMapServiceInfo object is always empty, but I'm not sure what I'm doing wrong. I've also tried directly accessing the layerInfos, and creating an array from them with no success either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 14:37:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468096#M4012</guid>
      <dc:creator>AndrewEgleton</dc:creator>
      <dc:date>2010-08-18T14:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468097#M4013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
AGSMapServiceInfo *serviceInfo = [[AGSMapServiceInfo alloc] initWithURLSynchronous:[NSURL URLWithString:aLayer.url]]; 
AGSDynamicMapServiceLayer *dynLayer = [[AGSDynamicMapServiceLayer alloc] initWithMapServiceInfo:serviceInfo]; 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so when you access to dynLayer.mapServiceInfo it will be not empty.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468097#M4013</guid>
      <dc:creator>MarcoBrugna</dc:creator>
      <dc:date>2021-12-11T20:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468098#M4014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, that work perfectly!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm slowly getting my head around the iPhone SDK/Objective C, but its very different to C#!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 10:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468098#M4014</guid>
      <dc:creator>AndrewEgleton</dc:creator>
      <dc:date>2010-08-19T10:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468099#M4015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Use this way:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
AGSMapServiceInfo *serviceInfo = [[AGSMapServiceInfo alloc] initWithURLSynchronous:[NSURL URLWithString:aLayer.url]]; 
AGSDynamicMapServiceLayer *dynLayer = [[AGSDynamicMapServiceLayer alloc] initWithMapServiceInfo:serviceInfo]; 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so when you access to dynLayer.mapServiceInfo it will be not empty.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the new API 1.0 this is not works me, previusly with the Beta versions It is works perfectly, but now no, someone knows?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Koldo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:44:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468099#M4015</guid>
      <dc:creator>KOLDODUARTE</dc:creator>
      <dc:date>2021-12-11T20:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468100#M4016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The AGSMapServiceInfo::initWithURLSynchronous has been renamed to &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/iphone/reference/interface_a_g_s_map_service_info.html#aa02273bc287da0acc8399cff0826bd10"&gt;AGSMapServiceInfo::initWithURL:error:&lt;/A&gt;&lt;SPAN&gt;. Please refer &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/iPhone/migration.pdf"&gt;Migration&lt;/A&gt;&lt;SPAN&gt; doc for detail of all changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can refer &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/iPhone/concepts/00pw/00pw0000004m000000.htm"&gt;ArcGIS Dynamic Map Service Layer &lt;/A&gt;&lt;SPAN&gt; doc as well.&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>Fri, 15 Oct 2010 15:09:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468100#M4016</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2010-10-15T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468101#M4017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The AGSMapServiceInfo::initWithURLSynchronous has been renamed to &lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/iphone/reference/interface_a_g_s_map_service_info.html#aa02273bc287da0acc8399cff0826bd10" rel="nofollow noopener noreferrer" target="_blank"&gt;AGSMapServiceInfo::initWithURL:error:&lt;/A&gt;. Please refer &lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/iPhone/migration.pdf" rel="nofollow noopener noreferrer" target="_blank"&gt;Migration&lt;/A&gt; doc for detail of all changes.&lt;BR /&gt;&lt;BR /&gt;You can refer &lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/iPhone/concepts/00pw/00pw0000004m000000.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS Dynamic Map Service Layer &lt;/A&gt; doc as well.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nimesh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Nimesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read all changes and I applied it, now I have this code, for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
NSURL *url = [NSURL URLWithString: @"http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"];

AGSMapServiceInfo *serviceInfo = [AGSMapServiceInfo mapServiceInfoWithURL:url error:nil];

AGSDynamicMapServiceLayer *dynLayerInfo = [AGSDynamicMapServiceLayer dynamicMapServiceLayerWithMapServiceInfo:serviceInfo]; 
 
NSString *info = dynLayerInfo.mapServiceInfo.serviceDescription;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just it breaks in first line and I don´t know why!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attach the error!&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://dl.dropbox.com/u/185610/MapServiceInfo.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:44:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468101#M4017</guid>
      <dc:creator>KOLDODUARTE</dc:creator>
      <dc:date>2021-12-11T20:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468102#M4018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should pass the 'error' like below. It'll be populated if there is an error in creating instance of AGSMapServiceInfo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NSError *error = nil; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSMapServiceInfo *serviceInfo = [AGSMapServiceInfo mapServiceInfoWithURL:url error:&amp;amp;error];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&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>Fri, 15 Oct 2010 21:51:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468102#M4018</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2010-10-15T21:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468103#M4019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You should pass the 'error' like below. It'll be populated if there is an error in creating instance of AGSMapServiceInfo.&lt;BR /&gt;&lt;BR /&gt;NSError *error = nil; &lt;BR /&gt;AGSMapServiceInfo *serviceInfo = [AGSMapServiceInfo mapServiceInfoWithURL:url error:&amp;amp;error];&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nimesh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, now it is good, thank you!.. one more.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 22:13:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468103#M4019</guid>
      <dc:creator>KOLDODUARTE</dc:creator>
      <dc:date>2010-10-15T22:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468104#M4020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I were mistaken, sorry!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, someone tries this code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
NSError *error = nil; 
 
 NSURL *url = [NSURL URLWithString: @"http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"];
 
 AGSMapServiceInfo *serviceInfo = [AGSMapServiceInfo mapServiceInfoWithURL:url error:&amp;amp;error];
 
 AGSDynamicMapServiceLayer *dynLayerInfo = [AGSDynamicMapServiceLayer dynamicMapServiceLayerWithMapServiceInfo:serviceInfo]; 
 
 NSString *info = dynLayerInfo.mapServiceInfo.serviceDescription;
&amp;nbsp; 
 UIAlertView *vModal = [[UIAlertView alloc]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initWithTitle:@"Map Service error"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; message:info
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delegate:self
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cancelButtonTitle:@"Done"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; otherButtonTitles:nil, nil];
 [vModal show];
 [vModal release];
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://dl.dropbox.com/u/185610/Error1.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:44:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468104#M4020</guid>
      <dc:creator>KOLDODUARTE</dc:creator>
      <dc:date>2021-12-11T20:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468105#M4021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are trying to access the layer information before it finished initialization. When the layer is ready, its loaded property will be enabled. You can then safely access its properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if(dynLayerInfo.loaded){ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; NSLog(@"Initial Envelope : %@", dynLayerInfo.initialEnvelope); &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, 21 Oct 2010 16:17:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468105#M4021</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2010-10-21T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468106#M4022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Nimesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now Its OK!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Koldo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 21:09:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468106#M4022</guid>
      <dc:creator>KOLDODUARTE</dc:creator>
      <dc:date>2010-11-01T21:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468107#M4023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. This post incorporates many different versions of the API, etc. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried to follow this and my head is spinning. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh, can you please piece this together and show us how in the most recent API I (we) can get access to the current layers that are visible and drawn on the map in a map service. (not the default visible property on the layer).&amp;nbsp; I would be VERY appreciative of this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Oct 2011 03:28:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468107#M4023</guid>
      <dc:creator>DarrenMackiewicz</dc:creator>
      <dc:date>2011-10-02T03:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468108#M4024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is how you should get the information of current visible dynamic map service layer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Get all layers in map from AGSMapView::mapLayers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Loop through all the layers and check the type of AGSLayer as AGSDynamicMapServiceLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Get the current visible layers indexes from AGSDynamicMapServiceLayer::visibleLayers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- if you want more information of that layer then pass index in the AGSDynamicMapServiceLayer:: mapServiceInfo::layerInfos. You'll have AGSMapServiceLayerInfo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&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>Mon, 03 Oct 2011 15:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468108#M4024</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-10-03T15:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Map service info?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468109#M4025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the clarification! I'll give it a try and report back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2011 17:18:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-map-service-info/m-p/468109#M4025</guid>
      <dc:creator>DarrenMackiewicz</dc:creator>
      <dc:date>2011-10-03T17:18:50Z</dc:date>
    </item>
  </channel>
</rss>

