dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Layers
WMSLayer Class
The WMSLayer is used to create layers based on OGC Web Map Services (WMS).
ArcGIS Maps SDK for JavaScript
public class WMSLayer : dymaptic.GeoBlazor.Core.Components.Layers.Layer,
dymaptic.GeoBlazor.Core.Interfaces.IBlendLayer,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent,
dymaptic.GeoBlazor.Core.Interfaces.IOperationalLayer,
dymaptic.GeoBlazor.Core.Interfaces.IPortalLayer,
dymaptic.GeoBlazor.Core.Interfaces.IRefreshableLayer,
dymaptic.GeoBlazor.Core.Interfaces.IScaleRangeLayer
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Layer 🡒 WMSLayer
Implements IBlendLayer, IMapComponent, IOperationalLayer, IPortalLayer, IRefreshableLayer, IScaleRangeLayer
Constructors
WMSLayer() Constructor
Parameterless constructor for use as a Razor Component.
public WMSLayer();
WMSLayer(string, Nullable, string, string, Dictionary<string,object>, string, Effect, Nullable, string, FetchFeatureInfoFunction, Extent, IReadOnlyList, string, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, PortalItem, Nullable, SpatialReference, IReadOnlyList, IReadOnlyList, TimeExtent, TimeInfo, TimeInterval, string, string, Nullable, string, TimeExtent, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public WMSLayer(string? arcGISLayerId=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode> blendMode=null, string? copyright=null, string? customLayerParameters=null, System.Collections.Generic.Dictionary<string,object>? customParameters=null, string? description=null, dymaptic.GeoBlazor.Core.Model.Effect? effect=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.FeatureInfoFormat> featureInfoFormat=null, string? featureInfoUrl=null, dymaptic.GeoBlazor.Core.Functions.FetchFeatureInfoFunction? fetchFeatureInfoFunction=null, dymaptic.GeoBlazor.Core.Components.Geometries.Extent? fullExtent=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Geometries.Extent>? fullExtents=null, string? imageFormat=null, System.Nullable<int> imageMaxHeight=null, System.Nullable<int> imageMaxWidth=null, System.Nullable<bool> imageTransparency=null, System.Nullable<bool> isBasemapReferenceLayer=null, System.Nullable<bool> legendEnabled=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.ListMode> listMode=null, System.Nullable<double> maxScale=null, System.Nullable<double> minScale=null, System.Nullable<double> opacity=null, System.Nullable<bool> persistenceEnabled=null, dymaptic.GeoBlazor.Core.Components.PortalItem? portalItem=null, System.Nullable<double> refreshInterval=null, dymaptic.GeoBlazor.Core.Components.SpatialReference? spatialReference=null, System.Collections.Generic.IReadOnlyList<double>? spatialReferences=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.WMSSublayer>? sublayers=null, dymaptic.GeoBlazor.Core.Components.TimeExtent? timeExtent=null, dymaptic.GeoBlazor.Core.Components.TimeInfo? timeInfo=null, dymaptic.GeoBlazor.Core.Components.TimeInterval? timeOffset=null, string? title=null, string? url=null, System.Nullable<bool> useViewTime=null, string? version=null, dymaptic.GeoBlazor.Core.Components.TimeExtent? visibilityTimeExtent=null, System.Nullable<bool> visible=null);
Parameters
arcGISLayerId
System.String
The unique ID assigned to the layer.
ArcGIS Maps SDK for JavaScript
blendMode
System.Nullable<BlendMode>
Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer.
default normal
ArcGIS Maps SDK for JavaScript
copyright
System.String
Copyright information for the WMS service.
ArcGIS Maps SDK for JavaScript
customLayerParameters
System.String
Use this to append different custom parameters to the WMS map requests.
ArcGIS Maps SDK for JavaScript
customParameters
System.Collections.Generic.Dictionary<System.String,System.Object>
Use this to append custom parameters to all WMS requests.
ArcGIS Maps SDK for JavaScript
description
System.String
Description for the WMS layer.
ArcGIS Maps SDK for JavaScript
effect
Effect
Effect provides various filter functions that can be performed on the layer to achieve different visual effects similar to
how image filters work.
default null
ArcGIS Maps SDK for JavaScript
featureInfoFormat
System.Nullable<FeatureInfoFormat>
The MIME type that will be requested by popups.
ArcGIS Maps SDK for JavaScript
featureInfoUrl
System.String
The URL for the WMS GetFeatureInfo call.
ArcGIS Maps SDK for JavaScript
fetchFeatureInfoFunction
FetchFeatureInfoFunction(object)
Function to override the default popup behavior of WMSLayer
.
default null
ArcGIS Maps SDK for JavaScript
fullExtent
Extent
The full extent of the layer.
ArcGIS Maps SDK for JavaScript
fullExtents
System.Collections.Generic.IReadOnlyList<Extent>
All bounding boxes defined for the layer.
ArcGIS Maps SDK for JavaScript
imageFormat
System.String
The map image format (MIME type) to request.
ArcGIS Maps SDK for JavaScript
imageMaxHeight
System.Nullable<System.Int32>
Indicates the maximum height of the image exported by the service.
default 2048
ArcGIS Maps SDK for JavaScript
imageMaxWidth
System.Nullable<System.Int32>
Indicates the maximum width of the image exported by the service.
default 2048
ArcGIS Maps SDK for JavaScript
imageTransparency
System.Nullable<System.Boolean>
Indicates whether the background of the image exported by the service is transparent.
default true
ArcGIS Maps SDK for JavaScript
isBasemapReferenceLayer
System.Nullable<System.Boolean>
Indicates whether the layer is a basemap reference layer. Default value: false.
legendEnabled
System.Nullable<System.Boolean>
Indicates whether the layer will be included in the legend.
default true
ArcGIS Maps SDK for JavaScript
listMode
System.Nullable<ListMode>
Indicates how the layer should display in the LayerList widget.
default “show”
ArcGIS Maps SDK for JavaScript
maxScale
System.Nullable<System.Double>
The maximum scale (most zoomed in) at which the layer is visible in the view.
default 0
ArcGIS Maps SDK for JavaScript
minScale
System.Nullable<System.Double>
The minimum scale (most zoomed out) at which the layer is visible in the view.
default 0
ArcGIS Maps SDK for JavaScript
opacity
System.Nullable<System.Double>
The opacity of the layer.
default 1
ArcGIS Maps SDK for JavaScript
persistenceEnabled
System.Nullable<System.Boolean>
Enable persistence of the layer in a WebMap or WebScene.
default true
ArcGIS Maps SDK for JavaScript
portalItem
PortalItem
The portal item from which the layer is loaded.
ArcGIS Maps SDK for JavaScript
refreshInterval
System.Nullable<System.Double>
Refresh interval of the layer in minutes.
default 0
ArcGIS Maps SDK for JavaScript
spatialReference
SpatialReference
The spatial reference of the layer.
ArcGIS Maps SDK for JavaScript
spatialReferences
System.Collections.Generic.IReadOnlyList<System.Double>
List of spatialReference well known ids derived from the CRS elements of the first layer in the GetCapabilities request.
ArcGIS Maps SDK for JavaScript
sublayers
System.Collections.Generic.IReadOnlyList<WMSSublayer>
A subset of the layer’s WMSSublayers that will be displayed.
ArcGIS Maps SDK for JavaScript
timeExtent
TimeExtent
The layer’s time extent.
ArcGIS Maps SDK for JavaScript
timeInfo
TimeInfo
TimeInfo provides information such as date fields that store
start
and end time
for each feature and the fullTimeExtent
for the layer.
default null
ArcGIS Maps SDK for JavaScript
timeOffset
TimeInterval
A temporary offset of the time data based on a certain TimeInterval.
default null
ArcGIS Maps SDK for JavaScript
title
System.String
The title of the layer used to identify it in places such as the LayerList widget.
ArcGIS Maps SDK for JavaScript
url
System.String
The URL of the WMS service.
ArcGIS Maps SDK for JavaScript
useViewTime
System.Nullable<System.Boolean>
Determines if the layer will update its temporal data based on the view’s
timeExtent.
default true
ArcGIS Maps SDK for JavaScript
version
System.String
Version of the WMS specification to use.
ArcGIS Maps SDK for JavaScript
visibilityTimeExtent
TimeExtent
Specifies a fixed time extent during which a layer should be visible.
default null
ArcGIS Maps SDK for JavaScript
visible
System.Nullable<System.Boolean>
Indicates if the layer is visible in the View.
default true
ArcGIS Maps SDK for JavaScript
Properties
WMSLayer.AllSublayers Property
A flattened collection of all WMSSublayers based on the sublayers
property.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.WMSSublayer>? AllSublayers { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<WMSSublayer>
WMSLayer.BlendMode Property
Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer.
default normal
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode> BlendMode { get; set; }
Implements BlendMode
Property Value
WMSLayer.Copyright Property
Copyright information for the WMS service.
ArcGIS Maps SDK for JavaScript
public string? Copyright { get; set; }
Property Value
WMSLayer.CustomLayerParameters Property
Use this to append different custom parameters to the WMS map requests.
ArcGIS Maps SDK for JavaScript
public string? CustomLayerParameters { get; set; }
Property Value
WMSLayer.CustomParameters Property
Use this to append custom parameters to all WMS requests.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.Dictionary<string,object>? CustomParameters { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.String,System.Object>
WMSLayer.Description Property
Description for the WMS layer.
ArcGIS Maps SDK for JavaScript
public string? Description { get; set; }
Property Value
WMSLayer.Dimensions Property
An array of time, elevation and other dimensions for the root layer.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<object>? Dimensions { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Object>
WMSLayer.Effect Property
Effect provides various filter functions that can be performed on the layer to achieve different visual effects similar to
how image filters work.
default null
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.Effect? Effect { get; set; }
Implements Effect
Property Value
WMSLayer.FeatureInfoFormat Property
The MIME type that will be requested by popups.
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.FeatureInfoFormat> FeatureInfoFormat { get; set; }
Property Value
System.Nullable<FeatureInfoFormat>
WMSLayer.FeatureInfoFormats Property
This property lists all available MIME-types that can be used with the WMS service’s GetFeatureInfo request.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<string>? FeatureInfoFormats { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.String>
WMSLayer.FeatureInfoUrl Property
The URL for the WMS GetFeatureInfo call.
ArcGIS Maps SDK for JavaScript
public string? FeatureInfoUrl { get; set; }
Property Value
WMSLayer.FetchFeatureInfoFunction Property
Function to override the default popup behavior of WMSLayer
.
default null
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Functions.FetchFeatureInfoFunction? FetchFeatureInfoFunction { get; set; }
Property Value
FetchFeatureInfoFunction(object)
WMSLayer.FullExtents Property
All bounding boxes defined for the layer.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Geometries.Extent>? FullExtents { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Extent>
WMSLayer.HasFetchFeatureInfoFunction Property
A convenience property that signifies whether a custom FetchFeatureInfoFunction function was registered.
public bool HasFetchFeatureInfoFunction { get; }
Property Value
WMSLayer.HasRefreshListener Property
Used in JavaScript layer to determine if the event listener is registered.
public bool HasRefreshListener { get; }
Property Value
WMSLayer.ImageFormat Property
The map image format (MIME type) to request.
ArcGIS Maps SDK for JavaScript
public string? ImageFormat { get; set; }
Property Value
WMSLayer.ImageMaxHeight Property
Indicates the maximum height of the image exported by the service.
default 2048
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> ImageMaxHeight { get; set; }
Property Value
WMSLayer.ImageMaxWidth Property
Indicates the maximum width of the image exported by the service.
default 2048
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> ImageMaxWidth { get; set; }
Property Value
WMSLayer.ImageTransparency Property
Indicates whether the background of the image exported by the service is transparent.
default true
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> ImageTransparency { get; set; }
Property Value
System.Nullable<System.Boolean>
WMSLayer.LegendEnabled Property
Indicates whether the layer will be included in the legend.
default true
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> LegendEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
WMSLayer.MaxScale Property
The maximum scale (most zoomed in) at which the layer is visible in the view.
default 0
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> MaxScale { get; set; }
Implements MaxScale
Property Value
System.Nullable<System.Double>
WMSLayer.MinScale Property
The minimum scale (most zoomed out) at which the layer is visible in the view.
default 0
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> MinScale { get; set; }
Implements MinScale
Property Value
System.Nullable<System.Double>
WMSLayer.OnRefresh Property
Fires if the layer has the refreshInterval set or when refresh() method is called.
The event payload indicates if the layer’s data has changed.
public Microsoft.AspNetCore.Components.EventCallback<dymaptic.GeoBlazor.Core.Events.RefreshEvent> OnRefresh { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<RefreshEvent>
WMSLayer.PortalItem Property
The portal item from which the layer is loaded.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.PortalItem? PortalItem { get; set; }
Implements PortalItem
Property Value
WMSLayer.RefreshInterval Property
Refresh interval of the layer in minutes.
default 0
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> RefreshInterval { get; set; }
Implements RefreshInterval
Property Value
System.Nullable<System.Double>
WMSLayer.SpatialReference Property
The spatial reference of the layer.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SpatialReference? SpatialReference { get; set; }
Property Value
WMSLayer.SpatialReferences Property
List of spatialReference well known ids derived from the CRS elements of the first layer in the GetCapabilities request.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<double>? SpatialReferences { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Double>
WMSLayer.Sublayers Property
A subset of the layer’s WMSSublayers that will be displayed.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.WMSSublayer>? Sublayers { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<WMSSublayer>
WMSLayer.TimeExtent Property
The layer’s time extent.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.TimeExtent? TimeExtent { get; set; }
Property Value
WMSLayer.TimeInfo Property
TimeInfo provides information such as date fields that store
start
and end time
for each feature and the fullTimeExtent
for the layer.
default null
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.TimeInfo? TimeInfo { get; set; }
Property Value
WMSLayer.TimeOffset Property
A temporary offset of the time data based on a certain TimeInterval.
default null
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.TimeInterval? TimeOffset { get; set; }
Property Value
WMSLayer.Type Property
Used internally to identify the sub type of Layer
public override dymaptic.GeoBlazor.Core.Enums.LayerType Type { get; }
Property Value
WMSLayer.Url Property
The URL of the WMS service.
ArcGIS Maps SDK for JavaScript
public string? Url { get; set; }
Property Value
WMSLayer.UseViewTime Property
Determines if the layer will update its temporal data based on the view’s
timeExtent.
default true
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> UseViewTime { get; set; }
Property Value
System.Nullable<System.Boolean>
WMSLayer.Version Property
Version of the WMS specification to use.
ArcGIS Maps SDK for JavaScript
public string? Version { get; set; }
Property Value
Methods
WMSLayer.AddToFullExtents(Extent[]) Method
Asynchronously adds elements to the FullExtents property.
public System.Threading.Tasks.Task AddToFullExtents(params dymaptic.GeoBlazor.Core.Components.Geometries.Extent[] values);
Parameters
The elements to add.
Returns
WMSLayer.AddToSpatialReferences(double[]) Method
Asynchronously adds elements to the SpatialReferences property.
public System.Threading.Tasks.Task AddToSpatialReferences(params double[] values);
Parameters
values
System.Double[]
The elements to add.
Returns
WMSLayer.AddToSublayers(WMSSublayer[]) Method
Asynchronously adds elements to the Sublayers property.
public System.Threading.Tasks.Task AddToSublayers(params dymaptic.GeoBlazor.Core.Components.WMSSublayer[] values);
Parameters
values
WMSSublayer[]
The elements to add.
Returns
WMSLayer.GetAllSublayers() Method
Asynchronously retrieve the current value of the AllSublayers property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.WMSSublayer>?> GetAllSublayers();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<WMSSublayer>>
WMSLayer.GetBlendMode() Method
Asynchronously retrieve the current value of the BlendMode property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode>> GetBlendMode();
Implements GetBlendMode()
Returns
System.Threading.Tasks.Task<System.Nullable<BlendMode>>
WMSLayer.GetCopyright() Method
Asynchronously retrieve the current value of the Copyright property.
public System.Threading.Tasks.Task<string?> GetCopyright();
Returns
System.Threading.Tasks.Task<System.String>
WMSLayer.GetCustomLayerParameters() Method
Asynchronously retrieve the current value of the CustomLayerParameters property.
public System.Threading.Tasks.Task<string?> GetCustomLayerParameters();
Returns
System.Threading.Tasks.Task<System.String>
WMSLayer.GetCustomParameters() Method
Asynchronously retrieve the current value of the CustomParameters property.
public System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,object>?> GetCustomParameters();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<System.String,System.Object>>
WMSLayer.GetDescription() Method
Asynchronously retrieve the current value of the Description property.
public System.Threading.Tasks.Task<string?> GetDescription();
Returns
System.Threading.Tasks.Task<System.String>
WMSLayer.GetDimensions() Method
Asynchronously retrieve the current value of the Dimensions property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<object>?> GetDimensions();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.Object>>
WMSLayer.GetEffect() Method
Asynchronously retrieve the current value of the Effect property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Effect?> GetEffect();
Implements GetEffect()
Returns
System.Threading.Tasks.Task<Effect>
WMSLayer.GetFeatureInfoFormat() Method
Asynchronously retrieve the current value of the FeatureInfoFormat property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.FeatureInfoFormat>> GetFeatureInfoFormat();
Returns
System.Threading.Tasks.Task<System.Nullable<FeatureInfoFormat>>
WMSLayer.GetFeatureInfoFormats() Method
Asynchronously retrieve the current value of the FeatureInfoFormats property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>?> GetFeatureInfoFormats();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.String>>
WMSLayer.GetFeatureInfoUrl() Method
Asynchronously retrieve the current value of the FeatureInfoUrl property.
public System.Threading.Tasks.Task<string?> GetFeatureInfoUrl();
Returns
System.Threading.Tasks.Task<System.String>
WMSLayer.GetFullExtents() Method
Asynchronously retrieve the current value of the FullExtents property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Geometries.Extent>?> GetFullExtents();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Extent>>
WMSLayer.GetImageFormat() Method
Asynchronously retrieve the current value of the ImageFormat property.
public System.Threading.Tasks.Task<string?> GetImageFormat();
Returns
System.Threading.Tasks.Task<System.String>
WMSLayer.GetImageMaxHeight() Method
Asynchronously retrieve the current value of the ImageMaxHeight property.
public System.Threading.Tasks.Task<System.Nullable<int>> GetImageMaxHeight();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Int32>>
WMSLayer.GetImageMaxWidth() Method
Asynchronously retrieve the current value of the ImageMaxWidth property.
public System.Threading.Tasks.Task<System.Nullable<int>> GetImageMaxWidth();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Int32>>
WMSLayer.GetImageTransparency() Method
Asynchronously retrieve the current value of the ImageTransparency property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetImageTransparency();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
WMSLayer.GetLegendEnabled() Method
Asynchronously retrieve the current value of the LegendEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetLegendEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
WMSLayer.GetMaxScale() Method
Asynchronously retrieve the current value of the MaxScale property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetMaxScale();
Implements GetMaxScale()
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
WMSLayer.GetMinScale() Method
Asynchronously retrieve the current value of the MinScale property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetMinScale();
Implements GetMinScale()
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
WMSLayer.GetPortalItem() Method
Asynchronously retrieve the current value of the PortalItem property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem?> GetPortalItem();
Implements GetPortalItem()
Returns
System.Threading.Tasks.Task<PortalItem>
WMSLayer.GetRefreshInterval() Method
Asynchronously retrieve the current value of the RefreshInterval property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetRefreshInterval();
Implements GetRefreshInterval()
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
WMSLayer.GetSpatialReference() Method
Asynchronously retrieve the current value of the SpatialReference property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SpatialReference?> GetSpatialReference();
Returns
System.Threading.Tasks.Task<SpatialReference>
WMSLayer.GetSpatialReferences() Method
Asynchronously retrieve the current value of the SpatialReferences property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<double>?> GetSpatialReferences();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.Double>>
WMSLayer.GetSublayers() Method
Asynchronously retrieve the current value of the Sublayers property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.WMSSublayer>?> GetSublayers();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<WMSSublayer>>
WMSLayer.GetTimeExtent() Method
Asynchronously retrieve the current value of the TimeExtent property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.TimeExtent?> GetTimeExtent();
Returns
System.Threading.Tasks.Task<TimeExtent>
WMSLayer.GetTimeInfo() Method
Asynchronously retrieve the current value of the TimeInfo property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.TimeInfo?> GetTimeInfo();
Returns
System.Threading.Tasks.Task<TimeInfo>
WMSLayer.GetTimeOffset() Method
Asynchronously retrieve the current value of the TimeOffset property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.TimeInterval?> GetTimeOffset();
Returns
System.Threading.Tasks.Task<TimeInterval>
WMSLayer.GetUrl() Method
Asynchronously retrieve the current value of the Url property.
public System.Threading.Tasks.Task<string?> GetUrl();
Returns
System.Threading.Tasks.Task<System.String>
WMSLayer.GetUseViewTime() Method
Asynchronously retrieve the current value of the UseViewTime property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetUseViewTime();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
WMSLayer.GetVersion() Method
Asynchronously retrieve the current value of the Version property.
public System.Threading.Tasks.Task<string?> GetVersion();
Returns
System.Threading.Tasks.Task<System.String>
WMSLayer.OnJsFetchFeatureInfoFunction(string) Method
JS-invokable method that triggers the FetchFeatureInfoFunction function.
Should not be called by consuming code.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Graphic[]?> OnJsFetchFeatureInfoFunction(string query);
Parameters
query
System.String
Returns
System.Threading.Tasks.Task<Graphic[]>
WMSLayer.OnJsRefresh(IJSStreamReference) Method
JavaScript-Invokable Method for internal use only.
public System.Threading.Tasks.Task OnJsRefresh(Microsoft.JSInterop.IJSStreamReference jsStreamRef);
Parameters
jsStreamRef
Microsoft.JSInterop.IJSStreamReference
Returns
WMSLayer.Refresh() Method
Fetches all the data for the layer.
ArcGIS Maps SDK for JavaScript
public override System.Threading.Tasks.ValueTask Refresh();
Implements Refresh()
Returns
System.Threading.Tasks.ValueTask
WMSLayer.RemoveFromFullExtents(Extent[]) Method
Asynchronously remove an element from the FullExtents property.
public System.Threading.Tasks.Task RemoveFromFullExtents(params dymaptic.GeoBlazor.Core.Components.Geometries.Extent[] values);
Parameters
The elements to remove.
Returns
WMSLayer.RemoveFromSpatialReferences(double[]) Method
Asynchronously remove an element from the SpatialReferences property.
public System.Threading.Tasks.Task RemoveFromSpatialReferences(params double[] values);
Parameters
values
System.Double[]
The elements to remove.
Returns
WMSLayer.RemoveFromSublayers(WMSSublayer[]) Method
Asynchronously remove an element from the Sublayers property.
public System.Threading.Tasks.Task RemoveFromSublayers(params dymaptic.GeoBlazor.Core.Components.WMSSublayer[] values);
Parameters
values
WMSSublayer[]
The elements to remove.
Returns
WMSLayer.SetBlendMode(Nullable) Method
Asynchronously set the value of the BlendMode property after render.
public System.Threading.Tasks.Task SetBlendMode(System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode> value);
Parameters
value
System.Nullable<BlendMode>
The value to set.
Implements SetBlendMode(Nullable<BlendMode>)
Returns
WMSLayer.SetCopyright(string) Method
Asynchronously set the value of the Copyright property after render.
public System.Threading.Tasks.Task SetCopyright(string? value);
Parameters
value
System.String
The value to set.
Returns
WMSLayer.SetCustomLayerParameters(string) Method
Asynchronously set the value of the CustomLayerParameters property after render.
public System.Threading.Tasks.Task SetCustomLayerParameters(string? value);
Parameters
value
System.String
The value to set.
Returns
WMSLayer.SetCustomParameters(Dictionary<string,object>) Method
Asynchronously set the value of the CustomParameters property after render.
public System.Threading.Tasks.Task SetCustomParameters(System.Collections.Generic.Dictionary<string,object>? value);
Parameters
value
System.Collections.Generic.Dictionary<System.String,System.Object>
The value to set.
Returns
WMSLayer.SetDescription(string) Method
Asynchronously set the value of the Description property after render.
public System.Threading.Tasks.Task SetDescription(string? value);
Parameters
value
System.String
The value to set.
Returns
WMSLayer.SetEffect(Effect) Method
Asynchronously set the value of the Effect property after render.
public System.Threading.Tasks.Task SetEffect(dymaptic.GeoBlazor.Core.Model.Effect? value);
Parameters
value
Effect
The value to set.
Implements SetEffect(Effect)
Returns
WMSLayer.SetFeatureInfoFormat(Nullable) Method
Asynchronously set the value of the FeatureInfoFormat property after render.
public System.Threading.Tasks.Task SetFeatureInfoFormat(System.Nullable<dymaptic.GeoBlazor.Core.Enums.FeatureInfoFormat> value);
Parameters
value
System.Nullable<FeatureInfoFormat>
The value to set.
Returns
WMSLayer.SetFeatureInfoUrl(string) Method
Asynchronously set the value of the FeatureInfoUrl property after render.
public System.Threading.Tasks.Task SetFeatureInfoUrl(string? value);
Parameters
value
System.String
The value to set.
Returns
WMSLayer.SetFullExtents(IReadOnlyList) Method
Asynchronously set the value of the FullExtents property after render.
public System.Threading.Tasks.Task SetFullExtents(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Geometries.Extent>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<Extent>
The value to set.
Returns
WMSLayer.SetImageFormat(string) Method
Asynchronously set the value of the ImageFormat property after render.
public System.Threading.Tasks.Task SetImageFormat(string? value);
Parameters
value
System.String
The value to set.
Returns
WMSLayer.SetImageMaxHeight(Nullable) Method
Asynchronously set the value of the ImageMaxHeight property after render.
public System.Threading.Tasks.Task SetImageMaxHeight(System.Nullable<int> value);
Parameters
value
System.Nullable<System.Int32>
The value to set.
Returns
WMSLayer.SetImageMaxWidth(Nullable) Method
Asynchronously set the value of the ImageMaxWidth property after render.
public System.Threading.Tasks.Task SetImageMaxWidth(System.Nullable<int> value);
Parameters
value
System.Nullable<System.Int32>
The value to set.
Returns
WMSLayer.SetImageTransparency(Nullable) Method
Asynchronously set the value of the ImageTransparency property after render.
public System.Threading.Tasks.Task SetImageTransparency(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
WMSLayer.SetLegendEnabled(Nullable) Method
Asynchronously set the value of the LegendEnabled property after render.
public System.Threading.Tasks.Task SetLegendEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
WMSLayer.SetMaxScale(Nullable) Method
Asynchronously set the value of the MaxScale property after render.
public System.Threading.Tasks.Task SetMaxScale(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Implements SetMaxScale(Nullable<double>)
Returns
WMSLayer.SetMinScale(Nullable) Method
Asynchronously set the value of the MinScale property after render.
public System.Threading.Tasks.Task SetMinScale(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Implements SetMinScale(Nullable<double>)
Returns
WMSLayer.SetPersistenceEnabled(Nullable) Method
Asynchronously set the value of the PersistenceEnabled property after render.
public System.Threading.Tasks.Task SetPersistenceEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Implements SetPersistenceEnabled(Nullable<bool>)
Returns
WMSLayer.SetPortalItem(PortalItem) Method
Asynchronously set the value of the PortalItem property after render.
public System.Threading.Tasks.Task SetPortalItem(dymaptic.GeoBlazor.Core.Components.PortalItem? value);
Parameters
value
PortalItem
The value to set.
Implements SetPortalItem(PortalItem)
Returns
WMSLayer.SetRefreshInterval(Nullable) Method
Asynchronously set the value of the RefreshInterval property after render.
public System.Threading.Tasks.Task SetRefreshInterval(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Implements SetRefreshInterval(Nullable<double>)
Returns
WMSLayer.SetSpatialReference(SpatialReference) Method
Asynchronously set the value of the SpatialReference property after render.
public System.Threading.Tasks.Task SetSpatialReference(dymaptic.GeoBlazor.Core.Components.SpatialReference? value);
Parameters
value
SpatialReference
The value to set.
Returns
WMSLayer.SetSpatialReferences(IReadOnlyList) Method
Asynchronously set the value of the SpatialReferences property after render.
public System.Threading.Tasks.Task SetSpatialReferences(System.Collections.Generic.IReadOnlyList<double>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<System.Double>
The value to set.
Returns
WMSLayer.SetSublayers(IReadOnlyList) Method
Asynchronously set the value of the Sublayers property after render.
public System.Threading.Tasks.Task SetSublayers(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.WMSSublayer>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<WMSSublayer>
The value to set.
Returns
WMSLayer.SetTimeExtent(TimeExtent) Method
Asynchronously set the value of the TimeExtent property after render.
public System.Threading.Tasks.Task SetTimeExtent(dymaptic.GeoBlazor.Core.Components.TimeExtent? value);
Parameters
value
TimeExtent
The value to set.
Returns
WMSLayer.SetTimeInfo(TimeInfo) Method
Asynchronously set the value of the TimeInfo property after render.
public System.Threading.Tasks.Task SetTimeInfo(dymaptic.GeoBlazor.Core.Components.TimeInfo? value);
Parameters
value
TimeInfo
The value to set.
Returns
WMSLayer.SetTimeOffset(TimeInterval) Method
Asynchronously set the value of the TimeOffset property after render.
public System.Threading.Tasks.Task SetTimeOffset(dymaptic.GeoBlazor.Core.Components.TimeInterval? value);
Parameters
value
TimeInterval
The value to set.
Returns
WMSLayer.SetUrl(string) Method
Asynchronously set the value of the Url property after render.
public System.Threading.Tasks.Task SetUrl(string? value);
Parameters
value
System.String
The value to set.
Returns
WMSLayer.SetUseViewTime(Nullable) Method
Asynchronously set the value of the UseViewTime property after render.
public System.Threading.Tasks.Task SetUseViewTime(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
WMSLayer.SetVersion(string) Method
Asynchronously set the value of the Version property after render.
public System.Threading.Tasks.Task SetVersion(string? value);
Parameters
value
System.String
The value to set.
Returns
WMSLayer.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()