示例#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();
        }
示例#2
0
		public TileRenderer ()
		{
			Source = new OpenStreetMapTileSource();
		}
示例#3
0
 public TileRenderer()
 {
     Source = new OpenStreetMapTileSource();
 }