New to Telerik UI for WPFStart a free 30-day trial

Tiled map source for the WMS.

Definition

Constructors

Initializes a new instance of the WmsTileSource class.

C#
public WmsTileSource(string baseUri, int tileWidth, int tileHeight)
Parameters:baseUristring

Base URI of the WMS server.

tileWidthint

Tile width.

tileHeightint

Tile height.

Properties

Gets or sets Base URI of the WMS server.

C#
public string BaseUri { get; set; }

Gets or sets the image format of the requested tiles.

C#
public string ImageFormat { get; set; }

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

C#
public string Layers { get; set; }

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

C#
public string Projection { get; set; }

Gets or sets the version of the requested service.

C#
public string Version { get; set; }

Methods

Gets the image URI.

C#
protected override Uri GetTile(int tileLevel, int tilePositionX, int tilePositionY)
Parameters:tileLevelint

Tile level.

tilePositionXint

Tile X.

tilePositionYint

Tile Y.

Returns:

Uri

URI of image.

Overrides: TiledMapSource.GetTile(int, int, int)

Initialize tile source.

C#
public override void Initialize()

Overrides: TiledMapSource.Initialize()