Table of Contents

Class WmtsLayer

Namespace
ThinkGeo.Core.Async
Assembly
ThinkGeo.Core.dll
public class WmtsLayer : WebBasedLayer
Inheritance
WmtsLayer
Inherited Members

Constructors

WmtsLayer()

public WmtsLayer()

WmtsLayer(IEnumerable<Uri>)

public WmtsLayer(IEnumerable<Uri> serverUris)

Parameters

serverUris IEnumerable<Uri>

WmtsLayer(IEnumerable<Uri>, IWebProxy)

public WmtsLayer(IEnumerable<Uri> serverUris, IWebProxy webProxy)

Parameters

serverUris IEnumerable<Uri>
webProxy IWebProxy

WmtsLayer(IEnumerable<Uri>, IWebProxy, WmtsSeverEncodingType)

public WmtsLayer(IEnumerable<Uri> serverUris, IWebProxy webProxy, WmtsSeverEncodingType wmtsSeverEncodingType)

Parameters

serverUris IEnumerable<Uri>
webProxy IWebProxy
wmtsSeverEncodingType WmtsSeverEncodingType

Properties

ActiveLayerName

public string ActiveLayerName { get; set; }

Property Value

string

ActiveStyleName

public string ActiveStyleName { get; set; }

Property Value

string

AxisOrder

public WmtsAxisOrder AxisOrder { get; set; }

Property Value

WmtsAxisOrder

CapabilitesCacheTimeout

The timeout for Capabilities Cache, its 10 minutes by default

public TimeSpan CapabilitesCacheTimeout { get; set; }

Property Value

TimeSpan

HasBoundingBox

public override bool HasBoundingBox { get; }

Property Value

bool

IsCacheOnly

public bool IsCacheOnly { get; set; }

Property Value

bool

LowerScale

public double LowerScale { get; set; }

Property Value

double

OutputFormat

public string OutputFormat { get; set; }

Property Value

string

Parameters

public Dictionary<string, string> Parameters { get; }

Property Value

Dictionary<string, string>

ProjectedTileCache

public RasterTileCache ProjectedTileCache { get; set; }

Property Value

RasterTileCache

ProjectionConverter

public ProjectionConverter ProjectionConverter { get; set; }

Property Value

ProjectionConverter

ServerUris

public Collection<Uri> ServerUris { get; }

Property Value

Collection<Uri>

TileCache

public RasterTileCache TileCache { get; set; }

Property Value

RasterTileCache

TileMatrixSetName

public string TileMatrixSetName { get; set; }

Property Value

string

TileMatrixSets

The tile matrix sets of this WmtsLayer in Dictionary.

public Dictionary<string, WmtsTileMatrixSet> TileMatrixSets { get; }

Property Value

Dictionary<string, WmtsTileMatrixSet>

UpperScale

public double UpperScale { get; set; }

Property Value

double

WmtsServerLayers

public Collection<WmtsServerLayer> WmtsServerLayers { get; set; }

Property Value

Collection<WmtsServerLayer>

WmtsSeverEncodingType

public WmtsSeverEncodingType WmtsSeverEncodingType { get; set; }

Property Value

WmtsSeverEncodingType

Methods

CloseCore()

protected override void CloseCore()

DrawAsyncCore(GeoCanvas, Collection<SimpleCandidate>)

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

Parameters

canvas GeoCanvas
labelsInAllLayers Collection<SimpleCandidate>

Returns

Task

DrawExceptionCore(GeoCanvas, Exception)

protected override void DrawExceptionCore(GeoCanvas canvas, Exception e)

Parameters

canvas GeoCanvas
e Exception

GetBoundingBoxCore()

protected override RectangleShape GetBoundingBoxCore()

Returns

RectangleShape

GetLayerOutputFormats(string)

public Collection<string> GetLayerOutputFormats(string layerName)

Parameters

layerName string

Returns

Collection<string>

GetRequestUris(RectangleShape, int, int)

public Collection<Uri> GetRequestUris(RectangleShape requestExtent, int canvasWidth, int canvasHeight)

Parameters

requestExtent RectangleShape
canvasWidth int
canvasHeight int

Returns

Collection<Uri>

GetRequestUrisCore(RectangleShape, int, int)

protected virtual Collection<Uri> GetRequestUrisCore(RectangleShape requestExtent, int canvasWidth, int canvasHeight)

Parameters

requestExtent RectangleShape
canvasWidth int
canvasHeight int

Returns

Collection<Uri>

GetServerCapabilitiesXml()

public string GetServerCapabilitiesXml()

Returns

string

GetServerLayerNames()

public Collection<string> GetServerLayerNames()

Returns

Collection<string>

GetServerLayerStyles()

public Collection<string> GetServerLayerStyles()

Returns

Collection<string>

GetServerTileMatrixSetNames()

public Collection<string> GetServerTileMatrixSetNames()

Returns

Collection<string>

GetTileMatrix(string, double)

public TileMatrix GetTileMatrix(string tileMatrixSetName, double scale)

Parameters

tileMatrixSetName string
scale double

Returns

TileMatrix

GetZoomLevelSet(string)

public ZoomLevelSet GetZoomLevelSet(string tileMatrixSetName)

Parameters

tileMatrixSetName string

Returns

ZoomLevelSet

OpenAsyncCore(CancellationToken)

protected override Task OpenAsyncCore(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task

RemoveCachedCapability()

public bool RemoveCachedCapability()

Returns

bool