private void GetMapName() { if (mapUrl.EndsWith("/")) { this.mapUrl = mapUrl.TrimEnd(new char[] { '/' }); } int index = this.mapUrl.LastIndexOf('/'); mapName = this.mapUrl.Substring(index + 1); }