ExportMap/Controllers/ExportController.cs
@@ -1,4 +1,5 @@ using System; using LFServer.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net; @@ -10,9 +11,16 @@ public class ExportController : ApiController { [HttpPost] public void start([FromBody]string value) public void Start([FromBody]ExportArgs args) { if (args == null || string.IsNullOrWhiteSpace(args.layers)|| (args.xmin == 0 && args.ymin == 0 && args.xmax == 0 && args.ymax == 0)) { return; } args.SetDefault(); } } }