Class
WmsTileSource

Tiled map source for the WMS.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class WmsTileSource : TiledMapSource, IMapSource

Inheritance: objectMultiScaleTileSourceTiledMapSourceWmsTileSource

Implements: IMapSource

Inherited Members TiledMapSource.OpacityPropertyTiledMapSource.CacheTile(int, int, int, Uri, DateTime, byte[])TiledMapSource.IsLevelSupported(int)TiledMapSource.ConvertTileToZoomLevel(int)TiledMapSource.ConvertZoomToTileLevel(int)TiledMapSource.GetCachedTileName(int, int, int)TiledMapSource.GetCachedTile(int, int, int)TiledMapSource.IsValidCacheUri(int, int, int, Uri)TiledMapSource.GetCachedTileAsync(int, int, int, Action<byte[]>)TiledMapSource.GetTileLayers(int, int, int, IList<object>)TiledMapSource.IsValidTileLevel(int)TiledMapSource.InvalidateNullTiles()TiledMapSource.RaiseInitializeCompleted()TiledMapSource.RaiseInitializationFaulted(string, Exception)TiledMapSource.CacheStorageTiledMapSource.CultureTiledMapSource.IsTileCachingEnabledTiledMapSource.OpacityTiledMapSource.UniqueIdTiledMapSource.MinZoomLevelTiledMapSource.MaxZoomLevelTiledMapSource.InitializeCompletedTiledMapSource.InitializationFaultedMultiScaleTileSource.InvalidateTileLayer(int, int, int, int)MultiScaleTileSource.SetTileCacheSize(int)MultiScaleTileSource.OnHttpAuthenticationRequired(Uri, string, Dictionary<string, string>)MultiScaleTileSource.RequestCredentialsMultiScaleTileSource.WebHeaders

Constructors

WmsTileSource(string, int, int)

Initializes a new instance of the WmsTileSource class.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", MessageId = "0#")]
public WmsTileSource(string baseUri, int tileWidth, int tileHeight)

Parameters

baseUri

string

Base URI of the WMS server.

tileWidth

int

Tile width.

tileHeight

int

Tile height.

Properties

BaseUri

Gets or sets Base URI of the WMS server.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
public string BaseUri { get; set; }

Property Value

string

ImageFormat

Gets or sets the image format of the requested tiles.

Declaration

cs-api-definition
public string ImageFormat { get; set; }

Property Value

string

Layers

Gets or sets which layers are requested from the WMS server.

Declaration

cs-api-definition
public string Layers { get; set; }

Property Value

string

Projection

Gets or sets coordinate Reference System (CRS) or Spatial Reference System (SRS) identifier.

Declaration

cs-api-definition
public string Projection { get; set; }

Property Value

string

Version

Gets or sets the version of the requested service.

Declaration

cs-api-definition
public string Version { get; set; }

Property Value

string

Methods

GetTile(int, int, int)

Gets the image URI.

Declaration

cs-api-definition
protected override Uri GetTile(int tileLevel, int tilePositionX, int tilePositionY)

Parameters

tileLevel

int

Tile level.

tilePositionX

int

Tile X.

tilePositionY

int

Tile Y.

Returns

Uri

URI of image.

Overrides TiledMapSource.GetTile(int, int, int)

Initialize()

Initialize tile source.

Declaration

cs-api-definition
public override void Initialize()

Overrides TiledMapSource.Initialize()