Hi,
I’m trying to utilize a time cache for my wms overlay in the app, so that the user can cache map tiles prior to going offline in a designated area.
I’m using the code below, which I thought would put the cached tiles in a sub folder (album?) in the images folder. But the tiles seem to be put into the main photo storage folder ?!?
WmsOverlay ortho =newWmsOverlay();//…some setup of the overlaystringappName =this.Resources.GetString(Resource.String.ApplicationNameEng);var _dir =newFile(Android.OS.Environment.GetExternalStoragePublicDirectory(Android.OS.Environment.DirectoryPictures),“TileCache”);if(!_dir.Exists()) { _dir.Mkdirs(); }ortho.TileCache =newFileBitmapTileCache(_dir.Path +“/”, appName);// => …/TileCache/LifeTrees/…
What am I doing wrong here ? Is Android playing trick on me ? Please advise.