Esempio n. 1
0
        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();
        }
Esempio n. 2
0
		public TileRenderer ()
		{
			Source = new OpenStreetMapTileSource();
		}
Esempio n. 3
0
 public TileRenderer()
 {
     Source = new OpenStreetMapTileSource();
 }