Example #1
0
        public static void DownloadMap()
        {
            var frm = new FrmMapDownloader
            {
                _workMode = WorkMode.Download,
                Text      = @"Download Map",
                labelInfo = { Text = @"Cache all map on local disk" },
            };

            frm.ShowDialog();
        }
Example #2
0
        public static void SaveMapAsImage(PixelFormat mapPiFormat, int mapLevel)
        {
            var frm = new FrmMapDownloader
            {
                _workMode    = WorkMode.SaveToImageFile,
                _mapPiFormat = mapPiFormat,
                _mapLevel    = mapLevel,
                Text         = @"Save Map As Image",
                labelInfo    = { Text = @"Save big map as one image" }
            };

            frm.ShowDialog();
        }