public ActionResult Export(string f, string layers, string transparent, string format, string bbox, string size, string bboxsr, string imagesr, string layerdefs) { WMSRestParameter wmsParameter = new WMSRestParameter(layers, bbox, size, transparent, format, bboxsr, GisConstants.SRS, layerdefs, f); return(RequestHandler(createWMSRequest.WMSRequest(WMSRequestType.OverlayEMSGLayer, wmsParameter))); }
public void Run() { try { HttpContext.Current = this.current; this.response = createWMSRequest.WMSRequest(type, parameters); } catch (Exception e) { this.exception = e; } }