Class WmtsLayer
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
IWebProxywmtsSeverEncodingType
WmtsSeverEncodingType
Properties
ActiveLayerName
public string ActiveLayerName { get; set; }
Property Value
ActiveStyleName
public string ActiveStyleName { get; set; }
Property Value
AxisOrder
public WmtsAxisOrder AxisOrder { get; set; }
Property Value
CapabilitesCacheTimeout
The timeout for Capabilities Cache, its 10 minutes by default
public TimeSpan CapabilitesCacheTimeout { get; set; }
Property Value
HasBoundingBox
public override bool HasBoundingBox { get; }
Property Value
IsCacheOnly
public bool IsCacheOnly { get; set; }
Property Value
LowerScale
public double LowerScale { get; set; }
Property Value
OutputFormat
public string OutputFormat { get; set; }
Property Value
Parameters
public Dictionary<string, string> Parameters { get; }
Property Value
ProjectedTileCache
public RasterTileCache ProjectedTileCache { get; set; }
Property Value
ProjectionConverter
public ProjectionConverter ProjectionConverter { get; set; }
Property Value
ServerUris
public Collection<Uri> ServerUris { get; }
Property Value
- Collection<Uri>
TileCache
public RasterTileCache TileCache { get; set; }
Property Value
TileMatrixSetName
public string TileMatrixSetName { get; set; }
Property Value
TileMatrixSets
The tile matrix sets of this WmtsLayer in Dictionary.
public Dictionary<string, WmtsTileMatrixSet> TileMatrixSets { get; }
Property Value
UpperScale
public double UpperScale { get; set; }
Property Value
WmtsServerLayers
public Collection<WmtsServerLayer> WmtsServerLayers { get; set; }
Property Value
WmtsSeverEncodingType
public WmtsSeverEncodingType WmtsSeverEncodingType { get; set; }
Property Value
Methods
CloseCore()
protected override void CloseCore()
DrawAsyncCore(GeoCanvas, Collection<SimpleCandidate>)
protected override Task DrawAsyncCore(GeoCanvas canvas, Collection<SimpleCandidate> labelsInAllLayers)
Parameters
canvas
GeoCanvaslabelsInAllLayers
Collection<SimpleCandidate>
Returns
DrawExceptionCore(GeoCanvas, Exception)
protected override void DrawExceptionCore(GeoCanvas canvas, Exception e)
Parameters
GetBoundingBoxCore()
protected override RectangleShape GetBoundingBoxCore()
Returns
GetLayerOutputFormats(string)
public Collection<string> GetLayerOutputFormats(string layerName)
Parameters
layerName
string
Returns
GetRequestUris(RectangleShape, int, int)
public Collection<Uri> GetRequestUris(RectangleShape requestExtent, int canvasWidth, int canvasHeight)
Parameters
requestExtent
RectangleShapecanvasWidth
intcanvasHeight
int
Returns
- Collection<Uri>
GetRequestUrisCore(RectangleShape, int, int)
protected virtual Collection<Uri> GetRequestUrisCore(RectangleShape requestExtent, int canvasWidth, int canvasHeight)
Parameters
requestExtent
RectangleShapecanvasWidth
intcanvasHeight
int
Returns
- Collection<Uri>
GetServerCapabilitiesXml()
public string GetServerCapabilitiesXml()
Returns
GetServerLayerNames()
public Collection<string> GetServerLayerNames()
Returns
GetServerLayerStyles()
public Collection<string> GetServerLayerStyles()
Returns
GetServerTileMatrixSetNames()
public Collection<string> GetServerTileMatrixSetNames()
Returns
GetTileMatrix(string, double)
public TileMatrix GetTileMatrix(string tileMatrixSetName, double scale)
Parameters
Returns
GetZoomLevelSet(string)
public ZoomLevelSet GetZoomLevelSet(string tileMatrixSetName)
Parameters
tileMatrixSetName
string
Returns
OpenAsyncCore(CancellationToken)
protected override Task OpenAsyncCore(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
RemoveCachedCapability()
public bool RemoveCachedCapability()