C# Class SuperMap.WindowsPhone.Mapping.TiledLayer

${WP_mapping_TiledLayer_Title}

${WP_mapping_TiledLayer_Description}

Inheritance: ImageLayer
Show file Open project: SuperMap/iClient-for-Win8

Private Properties

Property Type Description
Complated void
DataToImage Image
Draw void
GetImage Task
GetProgress int
GetTileSpanWithin int[]
GetTilesBounds SuperMap.WindowsPhone.Core.Rectangle2D
NeedShowTiles List
RaiseTileLoad void
ShowImage void
_queueSystem_ImageCompleted void

Public Methods

Method Description
ClearLocalStorage ( ) : void

${WP_mapping_TiledLayer_method_ClearLocalStorage_D}

GetCachedResolutions ( ) : double[]

${WP_mapping_TiledLayer_method_getCachedResolutions_D}

Refresh ( ) : void

${WP_mapping_TiledLayer_method_refresh_D}

Protected Methods

Method Description
Cancel ( ) : void

${WP_mapping_TiledLayer_attribute_Cancel_D}

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

${WP_mapping_TiledLayer_attribute_GetTileUrl_D}

TiledLayer ( ) : System

${WP_mapping_TiledLayer_constructor_None_D}

Private Methods

Method Description
Complated ( ) : void
DataToImage ( Tile tile ) : Image
Draw ( DrawParameter drawParameter ) : void
GetImage ( Tile tile ) : Task
GetProgress ( ) : int

获取当前进度。

GetTileSpanWithin ( Rectangle2D bounds, double resolution ) : int[]
GetTilesBounds ( int cloumn, int row, double resolution ) : Rectangle2D
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

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

ClearLocalStorage() public method

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

GetCachedResolutions() public abstract method

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

GetTile() protected method

${WP_mapping_TiledLayer_attribute_GetTileUrl_D}
protected GetTile ( int indexX, int indexY, int level, double resolution, CancellationToken cancellationToken ) : MapImage
indexX int
indexY int
level int
resolution double
cancellationToken System.Threading.CancellationToken
return MapImage

Refresh() public method

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

TiledLayer() protected method

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