laptop and a wrench

Bug

User request for getting the actual description and serviceDescription properties from the AGSMapServiceInfo class.

Zuletzt veröffentlicht: December 19, 2015 ArcGIS Runtime SDK
Bug-ID-Nummer NIM070102
EingereichtJune 29, 2011
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Runtime SDK
Gefunden in VersionOther
Behoben in Version10.2
StatusFixed

Workaround

To fetch both the values without using the AGSMapServiceInfo class, follow this workaround:NSURL *url1= [NSURL URLWithString:@"<a href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/LandusePlanning/MapServer?f=json" target="_blank">http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/LandusePlanning/MapServer?f=json</a>"]; NSString *loc = [[[NSString alloc] initWithContentsOfURL:url1] autorelease]; SBJsonParser *parser = [[SBJsonParser alloc] init];NSDictionary *json = [parser objectWithString:loc]; NSLog(@"description:%@", [json valueForKey:@"description"]); //prints descriptionNSLog(@"service description:%@", [json valueForKey:@"serviceDescription"]); //prints service //description

Schritte zur Reproduzierung

Bug-ID: NIM070102

Software:

  • ArcGIS Runtime SDK

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln