private void CheckUrl() { if (Url.EndsWith("/")) { Url.TrimEnd(new char[] { '/' }); } this.Url = this.Url + "/layers.json"; }