User Tools

Site Tools


thinkgeo.mapsuite.webedition.markervalueitem

This is an old revision of the document!


ThinkGeo.MapSuite.WebEdition.MarkerValueItem

<!– Class –> This class represents one value in a ValueMarkerStyle.

Remarks

ValueMarkerStyle:The ValueMarkerStyle allows you to match data in the FeatureSource with a value string. If the value matches, then we will use the style defined in that item to create the markers.For example, you may have some data about cities, with each city categorized as either a high, medium or low pollution city. Based on the string values of “High”, “Medium” and “Low”, we can match on these. If a particular feature's data for the column matched “High”, then we would use the high MarkerValueItem's style to create that city's marker.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMarkerValueItem Initialize a new instance of the MarkerValueItem class.
Public MethodMarkerValueItem String Initialize a new instance of the MarkerValueItem class using the value string specified.
Public MethodMarkerValueItem String, MarkerStyle Initialize a new instance of the MarkerValueItem class with the value string and custom marker style specified.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyCustomMarkerStyle MarkerStyle Gets or sets the style that could be any type of MarkerStyle.
Public PropertyDefaultMarkerStyle PointMarkerStyle Gets or sets the marker style that will be applied to the markers if the CustomMarkerStyle is not defined.
Public PropertyValue String Gets or sets the value that we will use to match with the feature data. If the value matches, we will use the style for this item.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

MarkerValueItem()

Initialize a new instance of the MarkerValueItem class.

Overloads

Initialize a new instance of the MarkerValueItem class.

Remarks

Parameters

Name Type Description

Go Back

MarkerValueItem(String)

Initialize a new instance of the MarkerValueItem class using the value string specified.

Overloads

Initialize a new instance of the MarkerValueItem class.

Remarks

Parameters

Name Type Description
value String<!– System.String –> The string to compare with the column value of features, which determines whether or not to use this value item to create the markers.

Go Back

MarkerValueItem(String, MarkerStyle)

Initialize a new instance of the MarkerValueItem class with the value string and custom marker style specified.

Overloads

Initialize a new instance of the MarkerValueItem class.

Remarks

It is recommended that you do not use this constructor if it is not necessary. Instead, you can set the properties directly on the DefaultMarkerStyle.

Parameters

Name Type Description
value String<!– System.String –> The string to compare with the column value of features, which determines whether or not to use this value item to create the markers.
customMarkerStyle MarkerStyle<!– ThinkGeo.MapSuite.WebEdition.MarkerStyle –> The marker style that is applied to the markers with higher priority.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Remarks

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Remarks

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Remarks

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

CustomMarkerStyle

Gets or sets the style that could be any type of MarkerStyle.

Remarks

The &lt;strong&gt;CustomMarkerStyle&lt;/strong&gt; could be any type of &lt;strong&gt;MarkerStyle&lt;/strong&gt;. This style has a higher priority than the &lt;strong&gt;DefaultMarkerStyle&lt;/strong&gt;. This means that if you defined both &lt;strong&gt;DefaultMarkerStyle&lt;/strong&gt; and &lt;strong&gt;CustomMarkerStyle&lt;/strong&gt;, the &lt;strong&gt;CustomMarkerStyle&lt;/strong&gt; will be used.

Return Value

Return Type
MarkerStyle<!– ThinkGeo.MapSuite.WebEdition.MarkerStyle –>

<!– ThinkGeo.MapSuite.WebEdition.MarkerValueItem –> Go Back

DefaultMarkerStyle

Gets or sets the marker style that will be applied to the markers if the CustomMarkerStyle is not defined.

Remarks

Return Value

Return Type
PointMarkerStyle<!– ThinkGeo.MapSuite.WebEdition.PointMarkerStyle –>

<!– ThinkGeo.MapSuite.WebEdition.MarkerValueItem –> Go Back

Value

Gets or sets the value that we will use to match with the feature data. If the value matches, we will use the style for this item.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerValueItem#firstHeading&quot; class=&quot;firstHeading&quot; lang=&quot;en&quot;&gt;&lt;span dir=&quot;auto” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerValueItem#firstHeading“ class=“firstHeading” lang=“en”&gt;&lt;span dir=“auto</a>

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.MarkerValueItem –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.webedition.markervalueitem.1440040135.txt.gz · Last modified: 2015/09/18 03:08 (external edit)