Table of Contents

Class TileFloor

public sealed class TileFloor
Inheritance
object
TileFloor

Constructors

TileFloor(ITileDataSource, int, bool, bool, int)

public TileFloor(ITileDataSource source, int maxZoom, bool prefetchEnabled, bool pinEnabled, int pinMaxZoom)

Parameters

source ITileDataSource
maxZoom int
prefetchEnabled bool
pinEnabled bool
pinMaxZoom int

Fields

DefaultMaxZoom

public const int DefaultMaxZoom = 4

Field Value

int

PinEnabled

public bool PinEnabled

Field Value

bool

PrefetchEnabled

public bool PrefetchEnabled

Field Value

bool

Stall

public readonly StallClock Stall

Field Value

StallClock

WorstCaseFootprintTiles

public const int WorstCaseFootprintTiles = 316

Field Value

int

Properties

CachedCount

public int CachedCount { get; }

Property Value

int

Current

public TileCoord Current { get; }

Property Value

TileCoord

CurrentIsInFlight

public bool CurrentIsInFlight { get; }

Property Value

bool

HasWork

public bool HasWork { get; }

Property Value

bool

InFlightCount

public int InFlightCount { get; }

Property Value

int

MaxZoom

public int MaxZoom { get; }

Property Value

int

PinKeyCount

public int PinKeyCount { get; }

Property Value

int

PinMaxZoom

public int PinMaxZoom { get; }

Property Value

int

PrefetchEligible

public bool PrefetchEligible { get; }

Property Value

bool

Remaining

public int Remaining { get; }

Property Value

int

Total

public int Total { get; }

Property Value

int

Methods

Abandon(long)

public bool Abandon(long key)

Parameters

key long

Returns

bool

CompleteFailure(long, TileFetchError, double)

public bool CompleteFailure(long key, TileFetchError error, double now)

Parameters

key long
error TileFetchError
now double

Returns

bool

CompleteSuccess(long)

public bool CompleteSuccess(long key)

Parameters

key long

Returns

bool

MarkStarted(TileCoord)

public void MarkStarted(TileCoord tile)

Parameters

tile TileCoord

PinKey(int)

public long PinKey(int i)

Parameters

i int

Returns

long

RebuildPinKeys(int, int)

public void RebuildPinKeys(int capacity, int reserve)

Parameters

capacity int
reserve int

SkipCurrent(bool)

public void SkipCurrent(bool alreadyOnDisk)

Parameters

alreadyOnDisk bool