WmtsLayer Class |
Namespace: Ptv.XServer.Controls.Map.Layers.WmtsLayer
The WmtsLayer type exposes the following members.
Name | Description | |
---|---|---|
CanvasCategories | Gets or sets the canvas categories for the layer. (Inherited from BaseLayer.) | |
CanvasFactories | Gets or sets the array of factory delegates. There may be existing different factory methods for
canvases of different categories. (Inherited from BaseLayer.) | |
Caption | Gets or sets the caption of the layer. (Inherited from BaseLayer.) | |
Copyright | Gets or sets the copyright text of the layer. (Inherited from BaseLayer.) | |
HasSettingsDialog | Gets a value indicating whether the layer has a settings dialog describing its properties. (Inherited from BaseLayer.) | |
Icon | Gets or sets the icon of the layer. (Inherited from BaseLayer.) | |
IsBaseMapLayer |
Gets or sets a value indicating whether the layer is a base map layer, which means it is part of the
basic map and not additional content.
(Inherited from TiledLayer.) | |
IsLabelLayer |
Gets or sets a value indicating whether layer tiles are transparent labels.
If true the layer uses some internal optimizations to reduce rendering artifacts.
(Inherited from TiledLayer.) | |
IsTransparentLayer |
Gets or sets a value indicating whether layer tiles use an alpha channel.
If false the layer uses some internal optimizations to reduce rendering artifacts.
(Inherited from TiledLayer.) | |
Name | Gets or sets the name of the layer. (Inherited from BaseLayer.) | |
Opacity | Gets or sets the opacity of the layer. (Inherited from BaseLayer.) | |
Priority | Gets or sets the zIndex of the layer. (Inherited from BaseLayer.) | |
TiledProvider |
Gets or sets the provider for the tiles.
(Inherited from TiledLayer.) | |
TileMatrixSet | WMTS uses a tile matrix set to split the map into equal sized squares at different zoom levels.
Such a square (so-called tile) is a matrix image which contains geographic data.
So a map is cut into multiple tiles according to a fixed scale, which is called a tile matrix.
Multiple matrices can be defined for different resolutions, resulting in a tile matrix set composed of one or more tile matrices.
Each tile matrix uses a tile matrix identifier, commonly the position of the matrix in the set,
the layer with the lowest resolution to be Layer 0. Further details can be seen
here.
The used tile matrix set by a service can be determined via the WMTS capabilities request. In the example shown for URL
template the following tile matrix set was extracted from the capabilities
http://laermkartierung1.eisenbahn-bundesamt.de/mb3/WMTSCapabilities.xml:
new TileMatrixSet("EPSG:25832") { new TileMatrix("00", 12980398.9955000000, 204485.0, 6134557.0, 1, 1), new TileMatrix("01", 6490199.4977700000, 204485.0, 6134557.0, 2, 2), new TileMatrix("02", 3245099.7488800000, 204485.0, 6134557.0, 4, 4), new TileMatrix("03", 1622549.8744400000, 204485.0, 6134557.0, 7, 8), new TileMatrix("04", 811274.9372210000, 204485.0, 6134557.0, 14, 16), new TileMatrix("05", 405637.4686100000, 204485.0, 6134557.0, 28, 32), new TileMatrix("06", 202818.7343050000, 204485.0, 6134557.0, 56, 64), new TileMatrix("07", 101409.3671530000, 204485.0, 6134557.0, 111, 128), new TileMatrix("08", 50704.6835763000, 204485.0, 6134557.0, 222, 256), new TileMatrix("09", 25352.3417882000, 204485.0, 6134557.0, 443, 512), new TileMatrix("10", 12676.1708941000, 204485.0, 6134557.0, 885, 1024), new TileMatrix("11", 6338.0854470400, 204485.0, 6134557.0, 1770, 2048), new TileMatrix("12", 3169.0427235200, 204485.0, 6134557.0, 3540, 4096), new TileMatrix("13", 1584.5213617600, 204485.0, 6134557.0, 7080, 8192), new TileMatrix("14", 792.2606808800, 204485.0, 6134557.0, 14160, 16384), new TileMatrix("15", 396.1303404400, 204485.0, 6134557.0, 28320, 32768), new TileMatrix("16", 198.0651702200, 204485.0, 6134557.0, 56639, 65536), new TileMatrix("17", 99.0325851100, 204485.0, 6134557.0, 113278, 131072), new TileMatrix("18", 49.5162925550, 204485.0, 6134557.0, 226555, 262144), new TileMatrix("19", 24.7581462775, 204485.0, 6134557.0, 453109, 524288) }; | |
TransitionUpdates |
Gets or sets a value indicating whether dynamic update is enabled.
(Inherited from TiledLayer.) | |
UrlTemplate | Template of an URL which is needed for addressing individual tiles
by means of placeholders for x, y and z (zooming level) parameters. As a typical representative
the following template can be used:
http://laermkartierung1.eisenbahn-bundesamt.de/mapproxy/wmts/ballungsraum_wmts/wmtsgrid/{z}/{x}/{y}.png |
Name | Description | |
---|---|---|
AddToMapView | Adds the layer to a map. (Inherited from BaseLayer.) | |
InitializeFactory | Initializes the base layer factory. A default category for the created canvases is set as well as a
default factory method which creates the new canvas instances. (Inherited from BaseLayer.) | |
Refresh | Updates the layer instances. (Inherited from BaseLayer.) | |
RemoveFromMapView | Removes the layer from a map. (Inherited from BaseLayer.) |
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property value changes. (Inherited from BaseLayer.) |
Name | Description | |
---|---|---|
ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) |