From 7e063d4b2812aeaabc247c2c3f0fc5b12b5478e8 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 12 十月 2023 16:26:13 +0800 Subject: [PATCH] 出图底图允许添加多个 --- MoonExp/Models/ExportArgs.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MoonExp/Models/ExportArgs.cs b/MoonExp/Models/ExportArgs.cs index bff0b8f..7fcc25a 100644 --- a/MoonExp/Models/ExportArgs.cs +++ b/MoonExp/Models/ExportArgs.cs @@ -95,6 +95,11 @@ public String wmtsUrl { set; get; } /// <summary> + /// 鍥惧眰ID闆嗗悎 + /// </summary> + public List<int> layerIds { set; get; } + + /// <summary> /// 璁剧疆榛樿鍊� /// </summary> public void SetDefault() @@ -104,6 +109,7 @@ if (string.IsNullOrWhiteSpace(scale)) scale = string.Empty; if (string.IsNullOrWhiteSpace(resolution)) resolution = string.Empty; if (string.IsNullOrWhiteSpace(date)) date = DateTime.Now.ToString("yyyy.MM.dd"); + if (null == layerIds) layerIds = new List<int>(); this.dpi = GetDpi(this.pageSize); } -- Gitblit v1.9.3