Table of Contents

Class FetchTileJob

Namespace
WitShells.MapView
public class FetchTileJob : ThreadJob<Tile>
Inheritance
FetchTileJob
Inherited Members

Constructors

FetchTileJob(string)

public FetchTileJob(string url)

Parameters

url string

FetchTileJob(string, Vector2Int, int, bool, bool, bool)

public FetchTileJob(string databasePath, Vector2Int coordinate, int zoomLevel, bool showLabels, bool onlineDownload = true, bool cacheTile = true)

Parameters

databasePath string
coordinate Vector2Int
zoomLevel int
showLabels bool
onlineDownload bool
cacheTile bool

Fields

dbPath

public readonly string dbPath

Field Value

string

onlineDownload

public bool onlineDownload

Field Value

bool

Properties

DbConnection

public SQLiteConnection DbConnection { get; }

Property Value

SQLiteConnection

Methods

DownloadTile(string)

public static Task<byte[]> DownloadTile(string url)

Parameters

url string

Returns

Task<byte[]>

Execute()

public override Tile Execute()

Returns

Tile

ExecuteAsync()

public override Task<Tile> ExecuteAsync()

Returns

Task<Tile>