Select to view content in your preferred language

i am trying to add new feature with feature layer/ i commented that code in web map.

2234
0
06-02-2014 05:07 AM
veereshvunnam
Deactivated User
//- (void) webMap:(AGSWebMap *)  webMap
//   didLoadLayer:(AGSLayer *)  layer  {
//
////The last feature layer we encounter we will use for editing features
//    //If the web map contains more than one feature layer, the sample may need to be modified to handle that
//        AGSFeatureLayer* featureLayer = (AGSFeatureLayer*)layer;
//   
//        //set the feature layer as its calloutDelegate
//        //this will then automatically set the callout's title to a value
//        //from the display field of the feature service
//        featureLayer.calloutDelegate = featureLayer;
//       
//        //Get all the fields
//        featureLayer.outFields = [NSArray arrayWithObject:@"*"];
//       
//        //This view controller should be notified when features are edited
//        featureLayer.editingDelegate = self;
//    NSLog(@"data is %@",featureLayer);
//        //Add templates from this layer to the Feature Template Picker
//        [self.featureTemplatePickerViewController addTemplatesFromLayer:featureLayer];
//
//}
0 Kudos
0 Replies