dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Layers

GeoRSSLayer Class

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html”>GeoBlazor Docs</a> The GeoRSSLayer class is used to create a layer based on <a target=”_blank” href=”https://www.ogc.org/standards/georss”>GeoRSS</a>. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html”>ArcGIS Maps SDK for JavaScript</a>

public class GeoRSSLayer : 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.IScaleRangeLayer

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Layer 🡒 GeoRSSLayer

Implements IBlendLayer, IMapComponent, IOperationalLayer, IScaleRangeLayer

Constructors

GeoRSSLayer() Constructor

Parameterless constructor for use as a Razor Component.

public GeoRSSLayer();

GeoRSSLayer(string, string, Nullable<double>, Nullable<bool>, Nullable<ListMode>, string, Nullable<BlendMode>, Effect, Extent, Nullable<bool>, Nullable<bool>, SimpleLineSymbol, Nullable<double>, Nullable<double>, Nullable<bool>, MarkerSymbol, SimpleFillSymbol, Nullable<double>, TimeExtent) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public GeoRSSLayer(string url, string? title=null, System.Nullable<double> opacity=null, System.Nullable<bool> visible=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.ListMode> listMode=null, string? arcGISLayerId=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode> blendMode=null, dymaptic.GeoBlazor.Core.Model.Effect? effect=null, dymaptic.GeoBlazor.Core.Components.Geometries.Extent? fullExtent=null, System.Nullable<bool> isBasemapReferenceLayer=null, System.Nullable<bool> legendEnabled=null, dymaptic.GeoBlazor.Core.Components.Symbols.SimpleLineSymbol? lineSymbol=null, System.Nullable<double> maxScale=null, System.Nullable<double> minScale=null, System.Nullable<bool> persistenceEnabled=null, dymaptic.GeoBlazor.Core.Components.Symbols.MarkerSymbol? pointSymbol=null, dymaptic.GeoBlazor.Core.Components.Symbols.SimpleFillSymbol? polygonSymbol=null, System.Nullable<double> refreshInterval=null, dymaptic.GeoBlazor.Core.Components.TimeExtent? visibilityTimeExtent=null);

Parameters

url System.String

The URL pointing to a GeoRSS file. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#url”>ArcGIS Maps SDK for JavaScript</a>

title System.String

The title of the layer used to identify it in places such as the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html”>LayerList</a> widget. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#title”>ArcGIS Maps SDK for JavaScript</a>

opacity System.Nullable<System.Double>

The opacity of the layer. default 1 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#opacity”>ArcGIS Maps SDK for JavaScript</a>

visible System.Nullable<System.Boolean>

Indicates if the layer is visible in the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html”>View</a>. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#visible”>ArcGIS Maps SDK for JavaScript</a>

listMode System.Nullable<ListMode>

Indicates how the layer should display in the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html”>LayerList</a> widget. default “show” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#listMode”>ArcGIS Maps SDK for JavaScript</a>

arcGISLayerId System.String

The unique ID assigned to the layer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#id”>ArcGIS Maps SDK for JavaScript</a>

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 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-BlendLayer.html#blendMode”>ArcGIS Maps SDK for JavaScript</a>

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 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#effect”>ArcGIS Maps SDK for JavaScript</a>

fullExtent Extent

The full extent of the layer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#fullExtent”>ArcGIS Maps SDK for JavaScript</a>

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 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#legendEnabled”>ArcGIS Maps SDK for JavaScript</a>

lineSymbol SimpleLineSymbol

Symbol used to represent line features from the GeoRSS feed. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#lineSymbol”>ArcGIS Maps SDK for JavaScript</a>

maxScale System.Nullable<System.Double>

The maximum scale (most zoomed in) at which the layer is visible in the view. default 0 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ScaleRangeLayer.html#maxScale”>ArcGIS Maps SDK for JavaScript</a>

minScale System.Nullable<System.Double>

The minimum scale (most zoomed out) at which the layer is visible in the view. default 0 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ScaleRangeLayer.html#minScale”>ArcGIS Maps SDK for JavaScript</a>

persistenceEnabled System.Nullable<System.Boolean>

Enable persistence of the layer in a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html”>WebMap</a> or <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html”>WebScene</a>. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-OperationalLayer.html#persistenceEnabled”>ArcGIS Maps SDK for JavaScript</a>

pointSymbol MarkerSymbol

Symbol used to represent point features from the GeoRSS feed. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#pointSymbol”>ArcGIS Maps SDK for JavaScript</a>

polygonSymbol SimpleFillSymbol

Symbol used to represent polygon features from the GeoRSS feed. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#polygonSymbol”>ArcGIS Maps SDK for JavaScript</a>

refreshInterval System.Nullable<System.Double>

Refresh interval of the layer in minutes. default 0 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#refreshInterval”>ArcGIS Maps SDK for JavaScript</a>

visibilityTimeExtent TimeExtent

Specifies a fixed <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeExtent.html”>time extent</a> during which a layer should be visible. default null <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#visibilityTimeExtent”>ArcGIS Maps SDK for JavaScript</a>

Properties

GeoRSSLayer.BlendMode Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayerblendmode-property”>GeoBlazor Docs</a> 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 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-BlendLayer.html#blendMode”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode> BlendMode { get; set; }

Implements BlendMode

Property Value

System.Nullable<BlendMode>

GeoRSSLayer.Effect Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayereffect-property”>GeoBlazor Docs</a> 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 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#effect”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Core.Model.Effect? Effect { get; set; }

Implements Effect

Property Value

Effect

GeoRSSLayer.HasRefreshListener Property

Used in JavaScript layer to determine if the event listener is registered.

public bool HasRefreshListener { get; }

Property Value

System.Boolean

GeoRSSLayer.LegendEnabled Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayerlegendenabled-property”>GeoBlazor Docs</a> Indicates whether the layer will be included in the legend. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#legendEnabled”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<bool> LegendEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

GeoRSSLayer.LineSymbol Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayerlinesymbol-property”>GeoBlazor Docs</a> Symbol used to represent line features from the GeoRSS feed. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#lineSymbol”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Core.Components.Symbols.SimpleLineSymbol? LineSymbol { get; set; }

Property Value

SimpleLineSymbol

GeoRSSLayer.MaxScale Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayermaxscale-property”>GeoBlazor Docs</a> The maximum scale (most zoomed in) at which the layer is visible in the view. default 0 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ScaleRangeLayer.html#maxScale”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<double> MaxScale { get; set; }

Implements MaxScale

Property Value

System.Nullable<System.Double>

GeoRSSLayer.MinScale Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayerminscale-property”>GeoBlazor Docs</a> The minimum scale (most zoomed out) at which the layer is visible in the view. default 0 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ScaleRangeLayer.html#minScale”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<double> MinScale { get; set; }

Implements MinScale

Property Value

System.Nullable<System.Double>

GeoRSSLayer.OnRefresh Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayeronrefresh-property”>GeoBlazor Docs</a> Fires if the layer has the <a href=”#refreshInterval”>refreshInterval</a> set or when <a href=”#refresh”>refresh()</a> 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>

GeoRSSLayer.PointSymbol Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayerpointsymbol-property”>GeoBlazor Docs</a> Symbol used to represent point features from the GeoRSS feed. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#pointSymbol”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Core.Components.Symbols.MarkerSymbol? PointSymbol { get; set; }

Property Value

MarkerSymbol

GeoRSSLayer.PolygonSymbol Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayerpolygonsymbol-property”>GeoBlazor Docs</a> Symbol used to represent polygon features from the GeoRSS feed. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#polygonSymbol”>ArcGIS Maps SDK for JavaScript</a>

public dymaptic.GeoBlazor.Core.Components.Symbols.SimpleFillSymbol? PolygonSymbol { get; set; }

Property Value

SimpleFillSymbol

GeoRSSLayer.RefreshInterval Property

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayerrefreshinterval-property”>GeoBlazor Docs</a> Refresh interval of the layer in minutes. default 0 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#refreshInterval”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<double> RefreshInterval { get; set; }

Property Value

System.Nullable<System.Double>

GeoRSSLayer.Type Property

Used internally to identify the sub type of Layer

public override dymaptic.GeoBlazor.Core.Enums.LayerType Type { get; }

Property Value

LayerType

GeoRSSLayer.Url Property

The url for the GeoRSS source data.

public string? Url { get; set; }

Property Value

System.String

Methods

GeoRSSLayer.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>>

GeoRSSLayer.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>

GeoRSSLayer.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>>

GeoRSSLayer.GetLineSymbol() Method

Asynchronously retrieve the current value of the LineSymbol property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Symbols.SimpleLineSymbol?> GetLineSymbol();

Returns

System.Threading.Tasks.Task<SimpleLineSymbol>

GeoRSSLayer.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>>

GeoRSSLayer.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>>

GeoRSSLayer.GetPointSymbol() Method

Asynchronously retrieve the current value of the PointSymbol property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Symbols.MarkerSymbol?> GetPointSymbol();

Returns

System.Threading.Tasks.Task<MarkerSymbol>

GeoRSSLayer.GetPolygonSymbol() Method

Asynchronously retrieve the current value of the PolygonSymbol property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Symbols.SimpleFillSymbol?> GetPolygonSymbol();

Returns

System.Threading.Tasks.Task<SimpleFillSymbol>

GeoRSSLayer.GetRefreshInterval() Method

Asynchronously retrieve the current value of the RefreshInterval property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetRefreshInterval();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

GeoRSSLayer.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>

GeoRSSLayer.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

System.Threading.Tasks.Task

GeoRSSLayer.Refresh() Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.GeoRSSLayer.html#georsslayerrefresh-method”>GeoBlazor Docs</a> Fetches all the data for the layer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html#refresh”>ArcGIS Maps SDK for JavaScript</a>

public override System.Threading.Tasks.ValueTask Refresh();

Returns

System.Threading.Tasks.ValueTask

GeoRSSLayer.SetBlendMode(Nullable<BlendMode>) 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

System.Threading.Tasks.Task

GeoRSSLayer.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

System.Threading.Tasks.Task

GeoRSSLayer.SetLegendEnabled(Nullable<bool>) 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

System.Threading.Tasks.Task

GeoRSSLayer.SetLineSymbol(SimpleLineSymbol) Method

Asynchronously set the value of the LineSymbol property after render.

public System.Threading.Tasks.Task SetLineSymbol(dymaptic.GeoBlazor.Core.Components.Symbols.SimpleLineSymbol? value);

Parameters

value SimpleLineSymbol

The value to set.

Returns

System.Threading.Tasks.Task

GeoRSSLayer.SetMaxScale(Nullable<double>) 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

System.Threading.Tasks.Task

GeoRSSLayer.SetMinScale(Nullable<double>) 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

System.Threading.Tasks.Task

GeoRSSLayer.SetPersistenceEnabled(Nullable<bool>) 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

System.Threading.Tasks.Task

GeoRSSLayer.SetPointSymbol(MarkerSymbol) Method

Asynchronously set the value of the PointSymbol property after render.

public System.Threading.Tasks.Task SetPointSymbol(dymaptic.GeoBlazor.Core.Components.Symbols.MarkerSymbol? value);

Parameters

value MarkerSymbol

The value to set.

Returns

System.Threading.Tasks.Task

GeoRSSLayer.SetPolygonSymbol(SimpleFillSymbol) Method

Asynchronously set the value of the PolygonSymbol property after render.

public System.Threading.Tasks.Task SetPolygonSymbol(dymaptic.GeoBlazor.Core.Components.Symbols.SimpleFillSymbol? value);

Parameters

value SimpleFillSymbol

The value to set.

Returns

System.Threading.Tasks.Task

GeoRSSLayer.SetRefreshInterval(Nullable<double>) 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.

Returns

System.Threading.Tasks.Task

GeoRSSLayer.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

System.Threading.Tasks.Task

GeoRSSLayer.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()