Show / Hide Table of Contents

Constructor SimpleMarkerSymbol

SimpleMarkerSymbol()

Initializes a new instance of the SimpleMarkerSymbol class with default values.

Declaration
public SimpleMarkerSymbol()
Remarks

The default values are:

  • Style - Circle
  • Size - 8.0
  • Color - gray

This is useful if the properties of the symbol are only known after the application is running.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
Relevant samples
Add graphics with symbols: Use a symbol style to display a graphic on a graphics overlay.
Browse WFS layers: Browse a WFS service for layers and add them to the map.

SimpleMarkerSymbol(SimpleMarkerSymbolStyle, Color, Double)

Initializes a new instance of the SimpleMarkerSymbol class.

Declaration
public SimpleMarkerSymbol(SimpleMarkerSymbolStyle style, Color color, double size)
Parameters
Type Name Description
SimpleMarkerSymbolStyle style

Indicates the type of simple marker symbol to create.

System.Drawing.Color color

The color of the simple marker symbol.

System.Double size

The size of the simple marker symbol.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.2 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.3 - 200.8
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.3 - 200.8
In This Article
Back to top Copyright © 2022 Esri.