Skip to content

WmsOverlay

Namespace: ThinkGeo.UI.XamarinForms

Represents an overlay object that gets map images from the WMS server you specify.

public class WmsOverlay : Overlay`1, ThinkGeo.UI.XamarinForms.Adapters.IMapElementAdaptable`1[[ThinkGeo.UI.XamarinForms.Adapters.IWmsOverlayAdapter, ThinkGeo.UI.XamarinForms, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectOverlayOverlay<IWmsOverlayAdapter>WmsOverlay
Implements IMapElementAdaptable<IWmsOverlayAdapter>

Remarks:

The WmsOverlay gets images from one or more WMS servers that you specify. Usually, you add a WMS server URI to the ServerUris collection and the WmsOverlay will make a request to that WMS server to get its tile images.

You can also add multiple WMS server URIs to the ServerUris collection. The WmsOverlay will randomly send requests to those WMS servers in a concurrent fashion. This means that the tile images can come from different WMS servers, thus greatly enhancing performance. Do not add URIs of differently-configured WMS servers to the ServerUris collection.

Properties

Parameters

Gets a dictionary whose items will be passed to the WMS server as parameters.

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

Property Value

Dictionary<String, String>
A dictionary whose items will be passed to the WMS server as parameters.

TileCache

public RasterTileCache TileCache { get; set; }

Property Value

RasterTileCache

TileSnappingMode

public TileSnappingMode TileSnappingMode { get; set; }

Property Value

TileSnappingMode

TimeoutInSeconds

public int TimeoutInSeconds { get; set; }

Property Value

Int32

Adapter

Gets the adapter.

public IWmsOverlayAdapter Adapter { get; set; }

Property Value

IWmsOverlayAdapter
The adapter.

IsVisible

public bool IsVisible { get; set; }

Property Value

Boolean

Name

public string Name { get; set; }

Property Value

String

Opacity

public double Opacity { get; set; }

Property Value

Double

Constructors

WmsOverlay()

Initializes a new instance of the WmsOverlay class.

public WmsOverlay()

WmsOverlay(Uri)

public WmsOverlay(Uri uri)

Parameters

uri Uri