C# Class Fusion.Engine.Graphics.GIS.DataSystem.MapSources.BaseMapSource

Mostra file Open project: demiurghg/FusionEngine Class Usage Examples

Public Properties

Property Type Description
EmptyTile Texture2D
Game Game
MaxZoom int?
MinZoom int
RamCache MapTile>.Dictionary
TileSize int
TimeUntilRemove float

Public Methods

Method Description
Dispose ( ) : void
DownloadTile ( MapTile tile ) : bool
GenerateUrl ( int x, int y, int zoom ) : string
GetTile ( int x, int y, int zoom ) : MapTile
TileStreamingThreadFunc ( CancellationToken cancellationToken ) : void
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
BaseMapSource ( Game game ) : System

Private Methods

Method Description
CheckTileInMemory ( int m, int n, int level ) : MapTile

Method Details

BaseMapSource() protected method

protected BaseMapSource ( Game game ) : System
game Game
return System

Dispose() public method

public Dispose ( ) : void
return void

DownloadTile() public method

public DownloadTile ( MapTile tile ) : bool
tile MapTile
return bool

GenerateUrl() public abstract method

public abstract GenerateUrl ( int x, int y, int zoom ) : string
x int
y int
zoom int
return string

GetTile() public method

public GetTile ( int x, int y, int zoom ) : MapTile
x int
y int
zoom int
return MapTile

TileStreamingThreadFunc() public method

public TileStreamingThreadFunc ( CancellationToken cancellationToken ) : void
cancellationToken System.Threading.CancellationToken
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime GameTime
return void

Property Details

EmptyTile public_oe static_oe property

public static Texture2D EmptyTile
return Texture2D

Game public_oe property

public Game Game
return Game

MaxZoom public_oe property

maximum level of zoom
public int? MaxZoom
return int?

MinZoom public_oe property

minimum level of zoom
public int MinZoom
return int

RamCache public_oe property

public Dictionary RamCache
return MapTile>.Dictionary

TileSize public_oe property

public int TileSize
return int

TimeUntilRemove public_oe property

public float TimeUntilRemove
return float