POST
|
Hey guys, I'm working on an application which is based on point features which are changing over time and it seems to me that the SDK is not destined for this use case. The problem seems to be in the possibility that features can be added and deleted and so my targetextent for offline usage is changing from time to time. I want to provide local basemaps and paths within a 10km radius around the feature. The only solution i found up to now is to create tpks and gdbs for every point and add them seperately to my MapView which is totally inefficient and ugly. This is because for example to my knowledge it is impossible to change the SyncExtent of a gdb after generation with SyncGeodatabaseTask. And also a way to unite local basemaps would be helpful. In the end i would like to have one file for every basemap type and every feature class type where i am able to react on changing usage extents. Does somebody know a somehow convenient way to achieve this goal with the SDK? Greets, bbbb9999
... View more
05-07-2014
04:13 AM
|
0
|
0
|
1026
|
POST
|
Hi, in the ExportTileCache sample application the ArcGISLocalTiledLayer the tiles of the offline map data are visible indepedent from the current scale of the MapView. But when I add a ArcGISLocalTiledLayer to the MapView in my application the tiles are only visible at the scales which are locally available in the offline data. Can somebody give me a hint to my mistake? Thanks a lot! Best Wishes, bbbb9999
... View more
03-11-2014
05:50 AM
|
0
|
0
|
1961
|
POST
|
Hey Aaron, i could answer my question myself. Actually everything expected is easily possible. But up to now it is not working quite well, maybe because the TileCacheTask class has still beta status. You can get the progress in percent and the estimated time left as follows: CallbackListener<TileCacheStatus> statusCallback = new CallbackListener<TileCacheStatus>(){
public void onCallback(TileCacheStatus tcs) {
for(GPMessage message : tcs.getJobResource().getMessages()){
System.out.println(message.getDescription());
System.out.println(message.getType());
}
}
public void onError(Throwable e) {
// TODO Auto-generated method stub
}
};
The Messages contain the expected information for you. You can cancel the Task as follows: new TileCacheTask(serviceUrl, creds).submitTileCacheJobAndDownload(params, statusCallback, downloadCallback, filename).cancel(true); Hope this helps you, greets!
... View more
02-20-2014
04:41 AM
|
0
|
0
|
189
|
POST
|
Hi, when downloading map tiles with TileCacheTask it would be useful to show information about the download progress. Is it possible to predict the probable file size of the data? Also information about the size of already downloaded data would be interesting. Greets, bbbb9999
... View more
01-13-2014
04:32 AM
|
0
|
3
|
2210
|