private void CheckUrl() { if (Url.EndsWith("/")) { Url.TrimEnd(new char[] { '/' }); } if (this.wkid > 0) { this.Url = this.Url + ".json?prjCoordSys={\"epsgCode\":" + this.wkid + "}"; } else { this.Url = this.Url + ".json"; } }