csaba8472

Problem with FeatureLayer

Discussion created by csaba8472 on Dec 1, 2011
Latest reply on Dec 1, 2011 by csaba8472
Hi
I have problem with FeatureLayer.(same as here: http://forums.arcgis.com/threads/30577-NO-types-or-templates-for-editable-FeatureLayer)

I implemented this:
NSURL* url = [NSURL URLWithString:@"...FeatureServer/0"];  
    AGSFeatureLayer* featureLayer = [[AGSFeatureLayer alloc]initWithURL:url mode:AGSFeatureLayerModeSnapshot];

NSMutableArray *grap=[[NSMutableArray alloc]init];
    grap=featureLayer.graphics;
    NSLog(@"%d",grap.count);

And grap.count is 0. What is the problem?  Mess up anything?

Thanks for the answer!

Outcomes