SuperMap.Web.iServerJava6R.SetLayerStatusService.GetMapName C# (CSharp) Method

GetMapName() private method

private GetMapName ( ) : void
return void
        private void GetMapName()
        {
            if (mapUrl.EndsWith("/"))
            {
                this.mapUrl = mapUrl.TrimEnd(new char[] { '/' });
            }

            int index = this.mapUrl.LastIndexOf('/');
            mapName = this.mapUrl.Substring(index + 1);
        }