WmsServerLayer¶
Namespace: ThinkGeo.Core
Represents an object that encapsulates a WMS Layer.
public class WmsServerLayer
Inheritance object → WmsServerLayer
Remarks:
A WMS Layer includes many properties and attributes. However, the properties list below are not supported by now.
Dimension Extent Attribution AuthorityURL Identifier MetadataURL DataURL FeatureListURL
Properties¶
Cascaded¶
0: layer has not been retransmitted by a Cascading Map Server. n: layer has been retransmitted n times.
public int Cascaded { get; set; }
Property Value¶
MinScale¶
Minimum scale for which it is appropriate to display this layer, as a scale denominator. 0 when the service declared none - see WmsServerLayer.HasMinScale to tell that from a declared 0.
public double MinScale { get; set; }
Property Value¶
MaxScale¶
Maximum scale for which it is appropriate to display this layer, as a scale denominator. 0 when the service declared none - see WmsServerLayer.HasMaxScale to tell that from a declared 0.
public double MaxScale { get; set; }
Property Value¶
HasMinScale¶
Whether WmsServerLayer.MinScale was declared - by the service for this layer or for a parent it inherits the limit from, or by the caller setting it. False means the 0 in MinScale is "no limit", not a limit of 0. https://community.thinkgeo.com/t/v15-beta160-follow-up-remaining-gpu-style-parity-source-lifecycle-wfs-v2-and-wms-gaps/12468
public bool HasMinScale { get; }
Property Value¶
HasMaxScale¶
Whether WmsServerLayer.MaxScale was declared - by the service for this layer or for a parent it inherits the limit from, or by the caller setting it. False means the 0 in MaxScale is "no limit", not a limit of 0.
public bool HasMaxScale { get; }
Property Value¶
Title¶
Title of this requesting WMS layer.
public string Title { get; set; }
Property Value¶
Name¶
Name of this requesting WMS layer.
public string Name { get; set; }
Property Value¶
Abstract¶
Abstract of this requesting WMS layer.
public string Abstract { get; set; }
Property Value¶
Queryable¶
Queryable property of this requesting WMS layer.
public bool Queryable { get; set; }
Property Value¶
Opaque¶
False: map data represents vector features that probably do not completely fill space. True: map data are mostly or completely opaque.
public bool Opaque { get; set; }
Property Value¶
NoSubsets¶
False: WMS can map a subset of the full bounding box. True: WMS can only map the entire bounding box.
public bool NoSubsets { get; set; }
Property Value¶
FixedWidth¶
0: WMS can resize map to arbitrary width. nonzero: map has a fixed width that cannot be changed by the WMS.
public int FixedWidth { get; set; }
Property Value¶
FixedHeight¶
0: WMS can resize map to arbitrary height. nonzero: map has a fixed height that cannot be changed by the WMS.
public int FixedHeight { get; set; }
Property Value¶
KeyWords¶
KeyWords property of this requesting WMS layer.
public String[] KeyWords { get; set; }
Property Value¶
Styles¶
The styles supported by the layer.
public WmsLayerStyle[] Styles { get; set; }
Property Value¶
Crs¶
' The Coordinate Reference Systems supported by the layer. '
public String[] Crs { get; set; }
Property Value¶
ChildLayers¶
Return child layers.
public WmsServerLayer[] ChildLayers { get; set; }
Property Value¶
BoudingBox¶
Gets or sets the bounding box advertised for the layer.
public RectangleShape BoudingBox { get; set; }
Property Value¶
Constructors¶
WmsServerLayer()¶
public WmsServerLayer()
Methods¶
Clone()¶
Creates a shallow copy of this layer description.
public WmsServerLayer Clone()
Returns¶
WmsServerLayer
A new with the same settings.