dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Layers

GeoRSSLayer Class

The GeoRSSLayer class is used to create a layer based on GeoRSS.
ArcGIS Maps SDK for JavaScript

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, Nullable, Nullable, string, Nullable, Effect, Extent, Nullable, Nullable, SimpleLineSymbol, Nullable, Nullable, Nullable, MarkerSymbol, SimpleFillSymbol, Nullable, 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.
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

opacity System.Nullable<System.Double>

The opacity of the layer.
default 1
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

listMode System.Nullable<ListMode>

Indicates how the layer should display in the LayerList widget.
default “show”
ArcGIS Maps SDK for JavaScript

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

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

fullExtent Extent

The full extent of the layer.
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

lineSymbol SimpleLineSymbol

Symbol used to represent line features from the GeoRSS feed.
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

persistenceEnabled System.Nullable<System.Boolean>

Enable persistence of the layer in a WebMap or WebScene.
default true
ArcGIS Maps SDK for JavaScript

pointSymbol MarkerSymbol

Symbol used to represent point features from the GeoRSS feed.
ArcGIS Maps SDK for JavaScript

polygonSymbol SimpleFillSymbol

Symbol used to represent polygon features from the GeoRSS feed.
ArcGIS Maps SDK for JavaScript

refreshInterval System.Nullable<System.Double>

Refresh interval of the layer in minutes.
default 0
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

Properties

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

System.Nullable<BlendMode>

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

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

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>

GeoRSSLayer.LineSymbol Property

Symbol used to represent line features from the GeoRSS feed.
ArcGIS Maps SDK for JavaScript

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

Property Value

SimpleLineSymbol

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

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

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

GeoRSSLayer.PointSymbol Property

Symbol used to represent point features from the GeoRSS feed.
ArcGIS Maps SDK for JavaScript

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

Property Value

MarkerSymbol

GeoRSSLayer.PolygonSymbol Property

Symbol used to represent polygon features from the GeoRSS feed.
ArcGIS Maps SDK for JavaScript

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

Property Value

SimpleFillSymbol

GeoRSSLayer.RefreshInterval Property

Refresh interval of the layer in minutes.
default 0
ArcGIS Maps SDK for JavaScript

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

Fetches all the data for the layer.
ArcGIS Maps SDK for JavaScript

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

Returns

System.Threading.Tasks.ValueTask

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

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) 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) 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) 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) 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) 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()