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 JS API

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, Nullable, Nullable, Nullable, Nullable, Nullable) Constructor

Constructor for use in code

public PictureMarkerSymbol(string url, System.Nullable<double> width=null, System.Nullable<double> height=null, System.Nullable<double> angle=null, System.Nullable<double> xOffset=null, System.Nullable<double> yOffset=null);

Parameters

url System.String

The URL to an image or SVG document.

width System.Nullable<System.Double>

The width of the image in points.

height System.Nullable<System.Double>

The height of the image in points.

angle System.Nullable<System.Double>

The angle of the marker relative to the screen in degrees.

xOffset System.Nullable<System.Double>

The offset on the x-axis in points.

yOffset System.Nullable<System.Double>

The offset on the y-axis in points.

Properties

PictureMarkerSymbol.Height Property

The height of the image in points.

public System.Nullable<double> Height { get; set; }

Property Value

System.Nullable<System.Double>

PictureMarkerSymbol.Type Property

The symbol type

public override string Type { get; }

Property Value

System.String

PictureMarkerSymbol.Url Property

The URL to an image or SVG document.

public string Url { get; set; }

Property Value

System.String

PictureMarkerSymbol.Width Property

The width of the image in points.

public System.Nullable<double> Width { get; set; }

Property Value

System.Nullable<System.Double>