GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Symbols

WebStyleSymbol Class

WebStyleSymbol is a class used to conveniently create vector 2D symbols and realistic and thematic 3D symbols. ArcGIS Maps SDK for JavaScript

public class WebStyleSymbol : dymaptic.GeoBlazor.Core.Components.Symbols.Symbol, dymaptic.GeoBlazor.Core.Interfaces.ISymbolsSymbol, dymaptic.GeoBlazor.Core.Interfaces.IMapComponent

Inheritance System.Object πŸ‘’ Microsoft.AspNetCore.Components.ComponentBase πŸ‘’ MapComponent πŸ‘’ Symbol πŸ‘’ WebStyleSymbol

Implements ISymbolsSymbol, IMapComponent

Constructors

WebStyleSymbol() Constructor

Parameterless constructor for use as a Razor Component.

public WebStyleSymbol();

WebStyleSymbol(MapColor, string, Portal, string, string) Constructor

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

public WebStyleSymbol(dymaptic.GeoBlazor.Core.Model.MapColor? color=null, string? name=null, dymaptic.GeoBlazor.Core.Components.Portal? portal=null, string? styleName=null, string? styleUrl=null);

Parameters

color MapColor

The color of the symbol. default β€œblack” ArcGIS Maps SDK for JavaScript

name System.String

The name of the symbol within the web style. ArcGIS Maps SDK for JavaScript

portal Portal

The portal that contains the web style this symbol refers to. ArcGIS Maps SDK for JavaScript

styleName System.String

A registered web style name. ArcGIS Maps SDK for JavaScript

styleUrl System.String

URL that points to the web style definition. ArcGIS Maps SDK for JavaScript

Properties

WebStyleSymbol.Name Property

The name of the symbol within the web style. ArcGIS Maps SDK for JavaScript

public string? Name { get; set; }

Property Value

System.String

WebStyleSymbol.Portal Property

The portal that contains the web style this symbol refers to. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Portal? Portal { get; set; }

Property Value

Portal

WebStyleSymbol.StyleName Property

A registered web style name. ArcGIS Maps SDK for JavaScript

public string? StyleName { get; set; }

Property Value

System.String

WebStyleSymbol.StyleUrl Property

URL that points to the web style definition. ArcGIS Maps SDK for JavaScript

public string? StyleUrl { get; set; }

Property Value

System.String

WebStyleSymbol.Type Property

The symbol type

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

Property Value

SymbolType

Methods

WebStyleSymbol.GetName() Method

Asynchronously retrieve the current value of the Name property.

public System.Threading.Tasks.Task<string?> GetName();

Returns

System.Threading.Tasks.Task<System.String>

WebStyleSymbol.GetPortal() Method

Asynchronously retrieve the current value of the Portal property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Portal?> GetPortal();

Returns

System.Threading.Tasks.Task<Portal>

WebStyleSymbol.GetStyleName() Method

Asynchronously retrieve the current value of the StyleName property.

public System.Threading.Tasks.Task<string?> GetStyleName();

Returns

System.Threading.Tasks.Task<System.String>

WebStyleSymbol.GetStyleUrl() Method

Asynchronously retrieve the current value of the StyleUrl property.

public System.Threading.Tasks.Task<string?> GetStyleUrl();

Returns

System.Threading.Tasks.Task<System.String>

WebStyleSymbol.SetName(string) Method

Asynchronously set the value of the Name property after render.

public System.Threading.Tasks.Task SetName(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

WebStyleSymbol.SetPortal(Portal) Method

Asynchronously set the value of the Portal property after render.

public System.Threading.Tasks.Task SetPortal(dymaptic.GeoBlazor.Core.Components.Portal? value);

Parameters

value Portal

The value to set.

Returns

System.Threading.Tasks.Task

WebStyleSymbol.SetStyleName(string) Method

Asynchronously set the value of the StyleName property after render.

public System.Threading.Tasks.Task SetStyleName(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

WebStyleSymbol.SetStyleUrl(string) Method

Asynchronously set the value of the StyleUrl property after render.

public System.Threading.Tasks.Task SetStyleUrl(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

WebStyleSymbol.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()