AnsweredAssumed Answered

when I  setTileDelegate   baseman can not to display

Question asked by niuruigang on Jul 23, 2012
Latest reply on Jul 30, 2012 by njarecha-esristaff
i want to get  tile  by operationDidGetTile methods in AGSTiledLayerTileDelegate, but when operationDidGetTile was called,basemap can not display on AGSMapView. the sample code is below:
        //.h file
        @interface DBViewController : UIViewController<AGSTiledLayerTileDelegate,...

        //.m file
        AGSTiledMapServiceLayer *tiledLayer = [[AGSTiledMapServiceLayer alloc] initWithURL:[NSURL URLWithString:layerUrl]];
        UIView<AGSLayerView>* lyr = [self.BaseMapView addMapLayer:tiledLayer withName:BASEMAPLAYER_NAME];
        [tiledLayer setTileDelegate:self];
        lyr.drawDuringPanning = YES;

       #pragma mark - AGSTiledLayerTileDelegate
       - (void)tiledLayer:(AGSTiledLayer *) layer operationDidGetTile:(NSOperation *) op
i can not find any bug in source code, I'll be much appreciated  any point from anyone!