Table of Contents

Class XyzTileLayer

Namespace
ThinkGeo.Core.Async
Assembly
ThinkGeo.Core.dll
public abstract class XyzTileLayer : WebBasedLayer
Inheritance
XyzTileLayer
Derived
Inherited Members

Constructors

XyzTileLayer(int, GeographyUnit, RectangleShape)

public XyzTileLayer(int tileSize, GeographyUnit mapUnit, RectangleShape maxExtent)

Parameters

tileSize int
mapUnit GeographyUnit
maxExtent RectangleShape

Properties

MapUnit

public GeographyUnit MapUnit { get; protected set; }

Property Value

GeographyUnit

MaxExtent

public RectangleShape MaxExtent { get; protected set; }

Property Value

RectangleShape

ProjectedTileCache

public virtual RasterTileCache ProjectedTileCache { get; set; }

Property Value

RasterTileCache

ProjectionConverterFromServerProjection

public virtual ProjectionConverter ProjectionConverterFromServerProjection { get; set; }

Property Value

ProjectionConverter

TileCache

public virtual RasterTileCache TileCache { get; set; }

Property Value

RasterTileCache

TileHeight

public int TileHeight { get; protected set; }

Property Value

int

TileWidth

public int TileWidth { get; protected set; }

Property Value

int

Methods

CloseAsyncCore(CancellationToken)

protected override Task CloseAsyncCore(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task

DrawAsyncCore(GeoCanvas, Collection<SimpleCandidate>)

protected override Task DrawAsyncCore(GeoCanvas canvas, Collection<SimpleCandidate> labelsInAllLayers)

Parameters

canvas GeoCanvas
labelsInAllLayers Collection<SimpleCandidate>

Returns

Task

GetBoundingBoxCore()

protected override RectangleShape GetBoundingBoxCore()

Returns

RectangleShape

GetImageUriAsync(int, long, long, float)

protected Task<string> GetImageUriAsync(int zoomLevel, long x, long y, float resolutionFactor)

Parameters

zoomLevel int
x long
y long
resolutionFactor float

Returns

Task<string>

GetImageUriAsyncCore(int, long, long, float)

protected abstract Task<string> GetImageUriAsyncCore(int zoomLevel, long x, long y, float resolutionFactor)

Parameters

zoomLevel int
x long
y long
resolutionFactor float

Returns

Task<string>

GetTileScale()

protected virtual int GetTileScale()

Returns

int

OpenAsyncCore(CancellationToken)

protected override Task OpenAsyncCore(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task