public TileTextureRepo(TileSource source) { DataDir = Path.GetFullPath("../Library/Cache/TileData"); if (!Directory.Exists(DataDir)) { Directory.CreateDirectory(DataDir); } _source = source; FindDiskTiles(); _continueWorkingInBackground = true; BeginFrame(); var th = new Thread((ThreadStart)DownloadThread); th.Start(); var lth = new Thread((ThreadStart)LoadThread); lth.Start(); }
public TileRenderer () { Source = new OpenStreetMapTileSource(); }
public TileRenderer() { Source = new OpenStreetMapTileSource(); }