Skip to content

ClassBreakMarkerStyle

Namespace: ThinkGeo.UI.Wpf

Renders markers using different styles based on class breaks in a numeric column.

public class ClassBreakMarkerStyle : MarkerStyle

Inheritance ObjectMarkerStyleClassBreakMarkerStyle

Properties

ColumnName

Gets or sets the column used to determine class break values.

public string ColumnName { get; set; }

Property Value

String

BreakValueInclusion

Gets or sets whether break values are inclusive or exclusive.

public MarkerBreakValueInclusion BreakValueInclusion { get; set; }

Property Value

MarkerBreakValueInclusion

ClassBreaks

Gets the collection of class breaks used to render markers.

public Collection<MarkerClassBreak> ClassBreaks { get; }

Property Value

Collection<MarkerClassBreak>

Constructors

ClassBreakMarkerStyle()

Initializes a new instance of the ClassBreakMarkerStyle class with default settings.

public ClassBreakMarkerStyle()

ClassBreakMarkerStyle(String)

Initializes a new instance of the ClassBreakMarkerStyle class for the specified column.

public ClassBreakMarkerStyle(string columnName)

Parameters

columnName String
The feature column containing numeric values for class breaks.

ClassBreakMarkerStyle(String, MarkerBreakValueInclusion)

Initializes a new instance of the ClassBreakMarkerStyle class using the specified column and break inclusion rule.

public ClassBreakMarkerStyle(string columnName, MarkerBreakValueInclusion breakValueInclusion)

Parameters

columnName String
The feature column containing numeric values for class breaks.

breakValueInclusion MarkerBreakValueInclusion
Specifies whether break values are inclusive or exclusive.

ClassBreakMarkerStyle(String, MarkerBreakValueInclusion, IEnumerable<MarkerClassBreak>)

Initializes a new instance of the ClassBreakMarkerStyle class with a predefined collection of class breaks.

public ClassBreakMarkerStyle(string columnName, MarkerBreakValueInclusion breakValueInclusion, IEnumerable<MarkerClassBreak> classBreaks)

Parameters

columnName String
The feature column containing numeric values for class breaks.

breakValueInclusion MarkerBreakValueInclusion
Specifies whether break values are inclusive or exclusive.

classBreaks IEnumerable<MarkerClassBreak>
The class breaks that control marker styling.

Methods

GetMarkersCore(IEnumerable<Feature>, IMapArguments)

Generates markers for the supplied features using the configured class breaks.

protected GeoCollection<Marker> GetMarkersCore(IEnumerable<Feature> features, IMapArguments mapArguments)

Parameters

features IEnumerable<Feature>
The features for which markers should be created.

mapArguments IMapArguments
Map context used to create marker positions.

Returns

GeoCollection<Marker>
A collection of markers styled according to class breaks.