| | |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Security; |
| | | using System.Text; |
| | | using System.Web; |
| | | |
| | |
| | | .Replace("{scale}", args.scale) |
| | | //.Replace("{resolution}", args.resolution) |
| | | //.Replace("{date}", args.date) |
| | | .Replace("{date}", DateTime.Now.ToString("yyyy.MM.dd")) |
| | | .Replace("{date}", args.date) // DateTime.Now.ToString("yyyy.MM.dd") |
| | | .Replace("{layers}", args.layers) |
| | | .Replace("{imgPath}", imgPath) |
| | | .Replace("{wmsUrl}", getWmtsUrl(args)); |
| | |
| | | |
| | | string wmtsUrl = string.Join(",", list); |
| | | |
| | | return wmtsUrl; |
| | | return SecurityElement.Escape(wmtsUrl); |
| | | } |
| | | |
| | | /// <summary> |