Class PictureMarkerSymbol
Uses an image to symbolize geoelements that have point or multipoint geometry.
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class PictureMarkerSymbol : MarkerSymbol, INotifyPropertyChanged
Remarks
Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.
Constructors
Name | Description |
---|---|
PictureMarkerSymbol(RuntimeImage) | Initializes a new instance of the PictureMarkerSymbol class from runtime image data container. |
PictureMarkerSymbol(Uri) | Initializes a new instance of the PictureMarkerSymbol class from an image URI. |
Properties
Name | Description |
---|---|
Height | Gets or sets the image height. |
Opacity | Gets or sets the opacity for the symbol. |
Uri | Gets or sets the URI of the picture marker symbol. |
Width | Gets or sets the image width. |
Methods
Name | Description |
---|---|
CreateAsync(Stream) | Creates a new instance of a PictureMarkerSymbol from a stream of encoded image bytes |
ToMultilayerSymbol() | Converts a PictureMarkerSymbol to a MultilayerPointSymbol. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
Find address: Find the location for an address.
Find place: Find places of interest near a location or within a specific area.
Find route: Display directions for a route between two points.