POST
|
I would like to know why you want to listen to operationDidGetTile method? What is the intention? What you want to do with it? Regards, Nimesh Thanks Mr Nimesh! I want to develop a app that can automatically save tile images from base map layer to a Sqlite database, when the net was disconnected I can browse the map get from database. As a app(C#) specified by the flow URL: http://www.arcgis.com/home/item.html?id=d2b40d7f553947a2b575556b057f5dcf Best Regards, Niuruigang
... View more
07-29-2012
06:23 PM
|
0
|
0
|
249
|
POST
|
The row/column are not part of the JSON because it has to be calculated at client. Server does not provide that information. Look at this tiled layer JSON. Hence, we have method on AGSTileInfo to calculate. There is not other method to convert AGSTileInfo to JSON. If you want you'll have to write you own method. Hope this helps! Regards, Nimesh Thanks Mr Nimesh, i understood, thanks for your response patiently! Best wishes for you! Niuruigang(china)
... View more
07-29-2012
05:59 PM
|
0
|
0
|
257
|
POST
|
you can by AGSMapViewTouchDelegate's didClickAtPoint method do that as flow: -(void)mapView:(AGSMapView *) mapView didClickAtPoint:(CGPoint) screen mapPoint:(AGSPoint *)mappoint graphics:(NSDictionary *) graphics
... View more
07-26-2012
09:29 PM
|
0
|
0
|
368
|
POST
|
start/end Tile row/column are not part of the JSON. When you decode AGSTileInfo, execute computeTileBounds method and it will populate all the information in each AGSLOD. Regards, Nimesh Thanks Nimesh sir,Very thanks for your response again! But there is still something I don't understand, why the row/column are not part of the JSON? It is specified in Arcgis�?There is others method to convert AGSTileInfo object to JSON string? Regards, niuruigang(china)
... View more
07-25-2012
10:47 PM
|
0
|
0
|
257
|
POST
|
You are not suppose to set the tileDelegate. Here is the API reference doc of this property. The UIView<AGSLayerView>* lyr in your code becomes the tileDelegate by default, which you are not suppose to replace. Hence, you are not seeing the map. Hope this helps! Regards, Nimesh Thanks for your response, it's much appreciated. but I also want to ask again�?if I want get tiles when displaying base map,how can I do? or when displaying base map, I can't get tiles by the flow delegate method? - (void)tiledLayer:(AGSTiledLayer *) layer operationDidGetTile:(NSOperation *) op
... View more
07-25-2012
10:26 PM
|
0
|
0
|
249
|
POST
|
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 { return; } i can not find any bug in source code, I'll be much appreciated any point from anyone!
... View more
07-23-2012
08:32 PM
|
0
|
5
|
487
|
POST
|
hello guys,i was a new arcgis iPhone developer,now i want convert AGSLOD object to json string for store database,but when i generate json string use encodeToJSON and AGSJSONRepresentation method, the code was below: NSDictionary *TileInfoDic = [_tileInfo encodeToJSON]; NSString *TileInfoJson = [TileInfoDic AGSJSONRepresentation]; AGSLOD *lod = nil; for (lod in _TileInfo.lods) { NSDictionary *lodDic = [lod encodeToJSON]; NSLog(@"%@", [lodDic AGSJSONRepresentation]); n++; } the conver result was below: {"level":0,"resolution":529.16772500211687,"scale":2000000} in the result startTileRow???startTileColumn's???endTileRow and endTileColumn's json string not generated, by debug i know that there are normal values in these property. can yours give me some point for above issue, thanks very much!
... View more
07-23-2012
08:09 PM
|
0
|
5
|
3347
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|