Skip to main content Link Menu Expand (external link) Document Search Copy Copied

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

</a>

public class PictureMarkerSymbol : dymaptic.GeoBlazor.Core.Components.Symbols.MarkerSymbol,
System.IEquatable<dymaptic.GeoBlazor.Core.Components.Symbols.PictureMarkerSymbol>

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Symbol 🡒 MarkerSymbol 🡒 PictureMarkerSymbol

Implements System.IEquatable<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>

Methods

PictureMarkerSymbol.Equals(object) Method

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj);

Parameters

obj System.Object

The object to compare with the current object.

Returns

System.Boolean
true if the specified object is equal to the current object; otherwise, false.

PictureMarkerSymbol.GetHashCode() Method

Serves as the default hash function.

public override int GetHashCode();

Returns

System.Int32
A hash code for the current object.

Operators

PictureMarkerSymbol.operator ==(PictureMarkerSymbol, PictureMarkerSymbol) Operator

Compares two PictureMarkerSymbols for equality

public static bool operator ==(dymaptic.GeoBlazor.Core.Components.Symbols.PictureMarkerSymbol? left, dymaptic.GeoBlazor.Core.Components.Symbols.PictureMarkerSymbol? right);

Parameters

left PictureMarkerSymbol

right PictureMarkerSymbol

Returns

System.Boolean

PictureMarkerSymbol.operator !=(PictureMarkerSymbol, PictureMarkerSymbol) Operator

Compares two PictureMarkerSymbols for inequality

public static bool operator !=(dymaptic.GeoBlazor.Core.Components.Symbols.PictureMarkerSymbol? left, dymaptic.GeoBlazor.Core.Components.Symbols.PictureMarkerSymbol? right);

Parameters

left PictureMarkerSymbol

right PictureMarkerSymbol

Returns

System.Boolean