SuperMap.Web.Mapping.TiledDynamicISLayer.GetTileUrl C# (CSharp) Method

GetTileUrl() public method

${mapping_TiledDynamicLayer_method_getTileUrl_D}
public GetTileUrl ( int indexX, int indexY, double resolution ) : string
indexX int ${mapping_TiledDynamicLayer_method_getTileUrl_param_indexX}
indexY int ${mapping_TiledDynamicLayer_method_getTileUrl_param_indexY}
resolution double ${mapping_TiledDynamicLayer_method_getTileUrl_param_resolution}
return string
        public override string GetTileUrl(int indexX, int indexY, double resolution)
        {
            string uri = string.Empty;
            if (!string.IsNullOrEmpty(this.uriFormat))
            {
                double scale = ScaleHelper.ScaleConversion(resolution, this.Dpi,this.CRS) ;
                uri = String.Format(this.uriFormat, scale, indexX, indexY);

                //if (base.BitmapCreateOptions != BitmapCreateOptions.None)
                //{
                uri += string.Format("&t={0}", DateTime.Now.Ticks.ToString());
                //}

            }
            //return System.Windows.Browser.HttpUtility.UrlEncode(uri);
            return uri;
        }