dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Symbols

SimpleMarkerSymbol Class

SimpleMarkerSymbol is used for rendering 2D Point geometries
with a simple shape and color in either a MapView
or a SceneView.
ArcGIS Maps SDK for JavaScript

public class SimpleMarkerSymbol : dymaptic.GeoBlazor.Core.Components.Symbols.MarkerSymbol,
dymaptic.GeoBlazor.Core.Interfaces.ISymbol2D,
dymaptic.GeoBlazor.Core.Interfaces.ISymbol2D3D,
dymaptic.GeoBlazor.Core.Interfaces.ISymbolsSymbol,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent,
dymaptic.GeoBlazor.Core.Interfaces.ISymbolsMarkerSymbol

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

Implements ISymbol2D, ISymbol2D3D, ISymbolsSymbol, IMapComponent, ISymbolsMarkerSymbol

Constructors

SimpleMarkerSymbol() Constructor

Parameterless constructor for use as a Razor Component.

public SimpleMarkerSymbol();

SimpleMarkerSymbol(Outline, MapColor, Dimension, Nullable, Nullable, Dimension, Dimension, string) Constructor

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

public SimpleMarkerSymbol(dymaptic.GeoBlazor.Core.Components.Symbols.Outline? outline=null, dymaptic.GeoBlazor.Core.Model.MapColor? color=null, dymaptic.GeoBlazor.Core.Model.Dimension? size=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.SimpleMarkerSymbolStyle> style=null, System.Nullable<double> angle=null, dymaptic.GeoBlazor.Core.Model.Dimension? xoffset=null, dymaptic.GeoBlazor.Core.Model.Dimension? yoffset=null, string? path=null);

Parameters

outline Outline

The outline of the marker symbol.
ArcGIS Maps SDK for JavaScript

color MapColor

The color of the symbol.
default [255, 255, 255, 0.25] - white, semitransparent
ArcGIS Maps SDK for JavaScript

size Dimension

The size of the marker in points.
default 12
ArcGIS Maps SDK for JavaScript

style System.Nullable<SimpleMarkerSymbolStyle>

The marker style.
default β€œcircle”
ArcGIS Maps SDK for JavaScript

angle System.Nullable<System.Double>

The angle of the marker relative to the screen in degrees.
default 0
ArcGIS Maps SDK for JavaScript

xoffset Dimension

The offset on the x-axis in points.
default 0
ArcGIS Maps SDK for JavaScript

yoffset Dimension

The offset on the y-axis in points.
default 0
ArcGIS Maps SDK for JavaScript

path System.String

The SVG path of the icon.
ArcGIS Maps SDK for JavaScript

Properties

SimpleMarkerSymbol.Outline Property

The outline of the marker symbol.
ArcGIS Maps SDK for JavaScript

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

Property Value

Outline

SimpleMarkerSymbol.Path Property

The SVG path of the icon.
ArcGIS Maps SDK for JavaScript

public string? Path { get; set; }

Property Value

System.String

SimpleMarkerSymbol.Size Property

The size of the marker in points. This value may be autocast with a string expressing size in points or pixels (e.g. 12px).

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

Property Value

Dimension

SimpleMarkerSymbol.Style Property

The marker style.

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

Property Value

System.Nullable<SimpleMarkerSymbolStyle>

SimpleMarkerSymbol.Type Property

The symbol type

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

Property Value

SymbolType

Methods

SimpleMarkerSymbol.GetOutline() Method

Asynchronously retrieve the current value of the Outline property.

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

Returns

System.Threading.Tasks.Task<Outline>

SimpleMarkerSymbol.GetPath() Method

Asynchronously retrieve the current value of the Path property.

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

Returns

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

SimpleMarkerSymbol.GetSize() Method

Asynchronously retrieve the current value of the Size property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Dimension?> GetSize();

Returns

System.Threading.Tasks.Task<Dimension>

SimpleMarkerSymbol.GetStyle() Method

Asynchronously retrieve the current value of the Style property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.SimpleMarkerSymbolStyle>> GetStyle();

Returns

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

SimpleMarkerSymbol.SetOutline(Outline) Method

Asynchronously set the value of the Outline property after render.

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

Parameters

value Outline

The value to set.

Returns

System.Threading.Tasks.Task

SimpleMarkerSymbol.SetPath(string) Method

Asynchronously set the value of the Path property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

SimpleMarkerSymbol.SetSize(Dimension) Method

Asynchronously set the value of the Size property after render.

public System.Threading.Tasks.Task SetSize(dymaptic.GeoBlazor.Core.Model.Dimension? value);

Parameters

value Dimension

The value to set.

Returns

System.Threading.Tasks.Task

SimpleMarkerSymbol.SetStyle(Nullable) Method

Asynchronously set the value of the Style property after render.

public System.Threading.Tasks.Task SetStyle(System.Nullable<dymaptic.GeoBlazor.Core.Enums.SimpleMarkerSymbolStyle> value);

Parameters

value System.Nullable<SimpleMarkerSymbolStyle>

The value to set.

Returns

System.Threading.Tasks.Task

SimpleMarkerSymbol.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()