dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Symbols
PictureMarkerSymbol Class
PictureMarkerSymbol renders Point graphics in either a
2D MapView or 3D SceneView using an image.
ArcGIS Maps SDK for JavaScript
public class PictureMarkerSymbol : 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 π‘ PictureMarkerSymbol
Implements ISymbol2D, ISymbol2D3D, ISymbolsSymbol, IMapComponent, ISymbolsMarkerSymbol
Constructors
PictureMarkerSymbol() Constructor
Parameterless constructor for use as a Razor Component.
public PictureMarkerSymbol();
PictureMarkerSymbol(string, Dimension, Dimension, Nullable, Dimension, Dimension, MapColor) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public PictureMarkerSymbol(string url, dymaptic.GeoBlazor.Core.Model.Dimension? width=null, dymaptic.GeoBlazor.Core.Model.Dimension? height=null, System.Nullable<double> angle=null, dymaptic.GeoBlazor.Core.Model.Dimension? xoffset=null, dymaptic.GeoBlazor.Core.Model.Dimension? yoffset=null, dymaptic.GeoBlazor.Core.Model.MapColor? color=null);
Parameters
url
System.String
The URL to an image or SVG document.
ArcGIS Maps SDK for JavaScript
width
Dimension
The width of the image in points.
default 12
ArcGIS Maps SDK for JavaScript
height
Dimension
The height of the image in points.
default 12
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
color
MapColor
The color of the symbol.
default βblackβ
ArcGIS Maps SDK for JavaScript
Properties
PictureMarkerSymbol.Height Property
The height of the image in points.
public dymaptic.GeoBlazor.Core.Model.Dimension? Height { get; set; }
Property Value
PictureMarkerSymbol.Type Property
The symbol type
public override dymaptic.GeoBlazor.Core.Enums.SymbolType Type { get; }
Property Value
PictureMarkerSymbol.Url Property
The URL to an image or SVG document.
ArcGIS Maps SDK for JavaScript
public string Url { get; set; }
Property Value
PictureMarkerSymbol.Width Property
The width of the image in points.
public dymaptic.GeoBlazor.Core.Model.Dimension? Width { get; set; }
Property Value
Methods
PictureMarkerSymbol.GetHeight() Method
Asynchronously retrieve the current value of the Height property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Dimension?> GetHeight();
Returns
System.Threading.Tasks.Task<Dimension>
PictureMarkerSymbol.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>
PictureMarkerSymbol.GetWidth() Method
Asynchronously retrieve the current value of the Width property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Dimension?> GetWidth();
Returns
System.Threading.Tasks.Task<Dimension>
PictureMarkerSymbol.SetHeight(Dimension) Method
Asynchronously set the value of the Height property after render.
public System.Threading.Tasks.Task SetHeight(dymaptic.GeoBlazor.Core.Model.Dimension? value);
Parameters
value
Dimension
The value to set.
Returns
PictureMarkerSymbol.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
PictureMarkerSymbol.SetWidth(Dimension) Method
Asynchronously set the value of the Width property after render.
public System.Threading.Tasks.Task SetWidth(dymaptic.GeoBlazor.Core.Model.Dimension? value);
Parameters
value
Dimension
The value to set.
Returns
PictureMarkerSymbol.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()