管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2023-10-19 83563245453f24ab8480437f70e93c77b3bf3d42
修改出图地址
已修改3个文件
7 ■■■■■ 文件已修改
ExportMap/cs/TerrainUtils.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/cs/XYZUtils.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/export.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/cs/TerrainUtils.cs
@@ -46,7 +46,7 @@
        public static string GetReleaseUrl(string dircode)
        {
            //return "http://{host}/LFData/3d/terrain/" + dircode;
            return "http://{host}/ExportMap/terra0?path=3d\\terrain\\" + dircode;
            return "http://{host}/ExportMap/terra0?path=3d/terrain/" + dircode;
        }
        /// <summary>
ExportMap/cs/XYZUtils.cs
@@ -66,11 +66,12 @@
        }
        /// <summary>
        /// 获取发布地址
        /// 获取发布地址:http://localhost/ExportMap/tile0/{z}/{x}/{y}.png?path=2d\tiles\0102
        /// </summary>
        public static string GetReleaseUrl(string dircode)
        {
            return "http://{host}/LFData/2d/tiles/" + dircode + "/{z}/{x}/{y}.png";
            //return "http://{host}/ExportMap/tile0/{z}/{x}/{y}.png?path=2d/tiles/" + dircode;
        }
        /// <summary>
ExportMap/export.html
@@ -86,7 +86,7 @@
    // 测试切图
    function convertXYZ() {
      var data = { token: token, ids: [1217], id: 1, min: 8, max: 18, depcode: "000305", dircode: "0102", userId: 1, name: "DOM_0.2m" };
      var data = { token: token, ids: [1217], id: 1, min: 4, max: 17, depcode: "00", dircode: "0B", userId: 1, name: "5_A1", noData: 255 };
      ajax("Convert/ToTiles", "POST", JSON.stringify(data), null, null, function (rs) {
        alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result);
        console.log(rs);