layout: default title: PictureMarkerSymbol parent: Core Classes —
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. A url must point
to a valid image. PictureMarkerSymbols may be applied to point features in a FeatureLayer or individual graphics.
ArcGIS Maps SDK for JavaScript
public class PictureMarkerSymbol : dymaptic.GeoBlazor.Core.Components.Symbols.MarkerSymbol
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Symbol 🡒 MarkerSymbol 🡒 PictureMarkerSymbol
Constructors
PictureMarkerSymbol() Constructor
Parameterless constructor for use as a razor component
public PictureMarkerSymbol();
PictureMarkerSymbol(string, Dimension, Dimension, Nullable, Dimension, Dimension) Constructor
Constructor for use in code
public PictureMarkerSymbol(string url, dymaptic.GeoBlazor.Core.Objects.Dimension? width=null, dymaptic.GeoBlazor.Core.Objects.Dimension? height=null, System.Nullable<double> angle=null, dymaptic.GeoBlazor.Core.Objects.Dimension? xOffset=null, dymaptic.GeoBlazor.Core.Objects.Dimension? yOffset=null);
Parameters
url
System.String
The URL to an image or SVG document.
width
Dimension
The width of the image in points.
height
Dimension
The height of the image in points.
angle
System.Nullable<System.Double>
The angle of the marker relative to the screen in degrees.
xOffset
Dimension
The offset on the x-axis in points.
yOffset
Dimension
The offset on the y-axis in points.
Properties
PictureMarkerSymbol.Height Property
The height of the image in points.
public dymaptic.GeoBlazor.Core.Objects.Dimension? Height { get; set; }
Property Value
PictureMarkerSymbol.Type Property
The symbol type
public override string Type { get; }
Property Value
PictureMarkerSymbol.Url Property
The URL to an image or SVG document.
public string Url { get; set; }
Property Value
PictureMarkerSymbol.Width Property
The width of the image in points.
public dymaptic.GeoBlazor.Core.Objects.Dimension? Width { get; set; }