From d4b11624440760add20444a152cc327af4eb3efd Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 09 六月 2023 16:31:56 +0800
Subject: [PATCH] 1

---
 ExportMap/cs/SGUtils.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ExportMap/cs/SGUtils.cs b/ExportMap/cs/SGUtils.cs
index 02e94f8..365653f 100644
--- a/ExportMap/cs/SGUtils.cs
+++ b/ExportMap/cs/SGUtils.cs
@@ -48,6 +48,8 @@
                     return "http://{host}/SG/Imagery;" + sgsID + ".mpt"; // Elevation
                 case "3dml":
                     return "http://{host}/SG/b3dm/" + sgsID + "/tileset.json";
+                case "cpt":
+                    return "http://{host}/SG/pnts/" + sgsID + "/tileset.json";
                 default:
                     return string.Empty;
             }
@@ -60,7 +62,7 @@
         /// <returns>琛屾暟</returns>
         public List<int> Release(XYZArgs args, ref string err)
         {
-            List<SysMeta> list = XYZUtils.SelectMetas(args.ids, "and type in ('mpt', '3dml')");
+            List<SysMeta> list = XYZUtils.SelectMetas(args.ids, "and type in ('mpt', '3dml', 'cpt')");
             if (null == list || list.Count == 0) return null;
 
             //int maxId = GetMaxId(); // maxId = 411576;

--
Gitblit v1.9.3