BaiduMapTileCutter/Form1.cs

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace BaiduMapTileCutter
{
    // 输出文件类型的枚举
    public enum OutputFileTypes : byte
    {
        TileAndCode,
        TileOnly
    }

    // 独立地图类型还是叠加图层
    public enum OutputLayerTypes : byte
    {
        MapType,
        NormalLayer
    }

    // 级别信息结构体
    public struct ZoomInfo
    {
        public int MinZoom;
        public int MaxZoom;
        public int ImageZoom;
    }

    public partial class mainForm : Form
    {
   
        // 当前执行的步骤
        private short currentStep = 0;
        private string imageFilePath = "";
        private string outputPath = "";
        private OutputFileTypes outputFileType = OutputFileTypes.TileAndCode;
        private LatLng center = new LatLng();
        private ZoomInfo zoomInfo;
        private OutputLayerTypes outputLayerType = OutputLayerTypes.MapType;
        private string mapTypeName = "MyMap";
        private UserControl[] stepPanels = new UserControl[7];

        private StepPanel1 stepPanel1 = new StepPanel1();
        private StepPanel2 stepPanel2 = new StepPanel2();
        private StepPanel3 stepPanel3 = new StepPanel3();
        private StepPanel4 stepPanel4 = new StepPanel4();
        private StepPanel5 stepPanel5 = new StepPanel5();
        private StepPanel6 stepPanel6 = new StepPanel6();
        private StepPanel7 stepPanel7 = new StepPanel7();

        public mainForm()
        {
            InitializeComponent();
        }
后面还有 143 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。