C# Class SuperMap.WinRT.Mapping.TiledLayer

${mapping_TiledLayer_Title}

${mapping_TiledLayer_Description}

Inheritance: ImageLayer
Datei anzeigen Open project: SuperMap/iClient-for-Win8

Private Properties

Property Type Description
CheckBeforeDraw bool
Complated void
DataToImage Task
Draw void
GetImage Task
GetProgress int
GetTileSpanWithin int[]
GetTilesBounds SuperMap.WinRT.Core.Rectangle2D
InitContainer void
Load void
NeedShowTiles List
RaiseTileLoad void
ShowImage void
_queueSystem_ImageCompleted void

Public Methods

Method Description
ClearLocalStorage ( ) : void

${mapping_TiledLayer_method_ClearLocalStorage_D}

Dispose ( ) : void
GetCachedResolutions ( ) : double[]

${mapping_TiledLayer_method_getCachedResolutions_D}

Refresh ( ) : void

${mapping_TiledLayer_method_refresh_D}

Protected Methods

Method Description
Cancel ( ) : void

${mapping_TiledLayer_attribute_Cancel_D}

GetTile ( int indexX, int indexY, int level, double resolution, CancellationToken cancellationToken ) : MapImage

${mapping_TiledLayer_method_GetTile_D}

TiledLayer ( ) : System

${mapping_TiledLayer_constructor_None_D}

Private Methods

Method Description
CheckBeforeDraw ( UpdateParameter updateParameter ) : bool
Complated ( ) : void
DataToImage ( Tile tile ) : Task
Draw ( UpdateParameter updateParameter ) : void
GetImage ( Tile tile ) : Task
GetProgress ( ) : int

获取当前进度。

GetTileSpanWithin ( Rectangle2D bounds, double resolution ) : int[]
GetTilesBounds ( int cloumn, int row, double resolution ) : Rectangle2D
InitContainer ( ) : void
Load ( ) : void
NeedShowTiles ( double resolution, int span, bool useTransitions, int &level ) : List

计算需要添加的Tile块。

RaiseTileLoad ( Tile tile, Rectangle2D bounds ) : void
ShowImage ( Image img, bool enableFading ) : void
_queueSystem_ImageCompleted ( object sender, Tile e ) : void

Method Details

Cancel() protected method

${mapping_TiledLayer_attribute_Cancel_D}
protected Cancel ( ) : void
return void

ClearLocalStorage() public method

${mapping_TiledLayer_method_ClearLocalStorage_D}
public ClearLocalStorage ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetCachedResolutions() public abstract method

${mapping_TiledLayer_method_getCachedResolutions_D}
public abstract GetCachedResolutions ( ) : double[]
return double[]

GetTile() protected method

${mapping_TiledLayer_method_GetTile_D}
protected GetTile ( int indexX, int indexY, int level, double resolution, CancellationToken cancellationToken ) : MapImage
indexX int ${mapping_TiledLayer_method_GetTile_param_indexX_D}
indexY int ${mapping_TiledLayer_method_GetTile_param_indexY_D}
level int ${mapping_TiledLayer_method_GetTile_param_level_D}
resolution double ${mapping_TiledLayer_method_GetTile_param_resolution_D}
cancellationToken System.Threading.CancellationToken ${mapping_TiledLayer_method_GetTile_param_cancellationToken_D}
return MapImage

Refresh() public method

${mapping_TiledLayer_method_refresh_D}
public Refresh ( ) : void
return void

TiledLayer() protected method

${mapping_TiledLayer_constructor_None_D}
protected TiledLayer ( ) : System
return System