Skip to content

NoaaWeatherWarningsStyle

Namespace: ThinkGeo.Core

public class NoaaWeatherWarningsStyle : ValueStyle

Inheritance ObjectStyleValueStyleNoaaWeatherWarningsStyle

Properties

ColumnName

This property gets and sets the column name used to match with the value specified in the items.

public string ColumnName { get; set; }

Property Value

String

        This property gets the column name used to match with the value specified in
        the items.

Remarks:

This is the column we use for matching.

DrawingOrder

public ValueDrawingOrder DrawingOrder { get; set; }

Property Value

ValueDrawingOrder

ValueItems

This property gets the collection of ValueItems. Each item can have its own value to match.

public Collection<ValueItem> ValueItems { get; }

Property Value

Collection<ValueItem>
This property gets the collection of ValueItems.

Remarks:

You will want to add ValueItems to this collection. Each item can have its own style and matching string.

Name

This property gets and set the name of the style.

public string Name { get; set; }

Property Value

String
This property gets the name of the style.

Remarks:

This name is not used by the system; it is only for the developer. However, it can be used if you generate your own legend.

IsActive

This property gets and sets the active status of the style.

public bool IsActive { get; set; }

Property Value

Boolean
This property gets the active status of the style.

Remarks:

If the style is not active then it will not draw.

RequiredColumnNames

This property gets the collection of fields that are required for the style.

public Collection<string> RequiredColumnNames { get; }

Property Value

Collection<String>

        This property gets the collection of fields that are required for the
        style.

Remarks:

This property gets the collection of fields that are required for the style. These are in addition to any other columns you specify in styles that inherit from this one. For example, if you have use a ValueStyle and it requires a column name for the value comparison, then that column does not need to be in this collection. You only use the RequiredColumnNames for columns you need beyond those required by specific inherited styles.

Filters

public Collection<string> Filters { get; }

Property Value

Collection<String>

Constructors

NoaaWeatherWarningsStyle()

public NoaaWeatherWarningsStyle()

Methods

DrawCore(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>)

protected void DrawCore(IEnumerable<Feature> features, GeoCanvas canvas, Collection<SimpleCandidate> labelsInThisLayer, Collection<SimpleCandidate> labelsInAllLayers)

Parameters

features IEnumerable<Feature>

canvas GeoCanvas

labelsInThisLayer Collection<SimpleCandidate>

labelsInAllLayers Collection<SimpleCandidate>

GetRequiredColumnNamesCore()

protected Collection<string> GetRequiredColumnNamesCore()

Returns

Collection<String>