dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Symbols
PictureMarkerSymbol Class
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Symbols.PictureMarkerSymbol.html”>GeoBlazor Docs</a> PictureMarkerSymbol renders <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html”>Point</a> graphics in either a 2D <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html”>MapView</a> or 3D <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html”>SceneView</a> using an image. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PictureMarkerSymbol.html”>ArcGIS Maps SDK for JavaScript</a>
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<double>, 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. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PictureMarkerSymbol.html#url”>ArcGIS Maps SDK for JavaScript</a>
width
Dimension
The width of the image in points. default 12 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PictureMarkerSymbol.html#width”>ArcGIS Maps SDK for JavaScript</a>
height
Dimension
The height of the image in points. default 12 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PictureMarkerSymbol.html#height”>ArcGIS Maps SDK for JavaScript</a>
angle
System.Nullable<System.Double>
The angle of the marker relative to the screen in degrees. default 0 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-MarkerSymbol.html#angle”>ArcGIS Maps SDK for JavaScript</a>
xoffset
Dimension
The offset on the x-axis in points. default 0 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-MarkerSymbol.html#xoffset”>ArcGIS Maps SDK for JavaScript</a>
yoffset
Dimension
The offset on the y-axis in points. default 0 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-MarkerSymbol.html#yoffset”>ArcGIS Maps SDK for JavaScript</a>
color
MapColor
The color of the symbol. default “black” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol.html#color”>ArcGIS Maps SDK for JavaScript</a>
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
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Symbols.PictureMarkerSymbol.html#picturemarkersymbolurl-property”>GeoBlazor Docs</a> The URL to an image or SVG document. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PictureMarkerSymbol.html#url”>ArcGIS Maps SDK for JavaScript</a>
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()