Hi, I am very new to the ios SDK and I am trying to create my first app. I would like to have call outs displayed for my feature layer points (from a feature service). I have been following the developers guide online and consulting the runtime samples provided however I keep running into several errors in the guide and the samples.
For the following sample code: AGSCalloutTemplate* template = [[AGSCalloutTempate alloc] init] ; template.titleTemplate = @"${CITY_NAME}"; //show the value for attribute key 'CITY_NAME' template.detailTemplate = @"${POPULATION}"; //show the value for attribute key 'POPULATION'
I get the error "property 'calloutDelegate' not found on object of type 'AGSGraphicsLayer'".
and for the following sample code: - (BOOL) callout:(AGSCallout *)callout willShowForFeature:(id<AGSFeature>)beerLayer layer:(AGSLayer<AGSHitTestable> *)beerLayer mapPoint:(AGSPoint *)mapPoint{ }
I get the errors "Cannot find protocol declaration for 'AGSFeature' and 'AGSHitTestable'".
Yes I have version 10.2 downloaded for the SDK. However after re-reading the documentation I realized that I was working on xcode version 4.6.3. I upgraded my operating system so I could download version 5.0 of xcode. I haven't had a chance to try it out but hopefully that was the issue. Cheers!
Yes I have version 10.2 downloaded for the SDK. However after re-reading the documentation I realized that I was working on xcode version 4.6.3. I upgraded my operating system so I could download version 5.0 of xcode. I haven't had a chance to try it out but hopefully that was the issue. Cheers!
I have installed ArcGIS 10.1 at initial statge. Also i have installed 10.2 how to configure 10.1 to 10.2 while importing ArcGIS Bundle. Guide me to move forward..