From 54d918939c9f05e7588beb571cb49675433fc93d Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 15 三月 2023 17:04:19 +0800
Subject: [PATCH] 1

---
 ExportMap/export.html |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/ExportMap/export.html b/ExportMap/export.html
index c6cd708..36d2cb3 100644
--- a/ExportMap/export.html
+++ b/ExportMap/export.html
@@ -75,6 +75,15 @@
       });
     }
 
+    // 娴嬭瘯鍒囧浘
+    function convertXYZ() {
+      var data = { ids: [1526, 1527], id: 1, min: 8, max: 15, dircode: "000305" };
+      ajax("Convert/ToTiles", "POST", JSON.stringify(data), null, null, function (rs) {
+        alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result);
+        console.log(rs);
+      });
+    }
+
     // 娴嬭瘯Rvt
     function convert1() {
       var data = { ids: [1521] };
@@ -115,7 +124,8 @@
   <input type="button" value="鍑哄浘-1" onclick="exportMap1()" />
   <input type="button" value="鍑哄浘-2" onclick="exportMap2()" />
   <br /><br />
-
+  
+  <input type="button" value="娴嬭瘯鍒囧浘" onclick="convertXYZ();" />
   <input type="button" value="娴嬭瘯Rvt" onclick="convert1();" />
   <input type="button" value="娴嬭瘯Fbx" onclick="convert2();" />
   <input type="button" value="娴嬭瘯Ifc" onclick="convert3();" />

--
Gitblit v1.9.3