ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
<!– Class –> Represents a break with a value and style defined.
Marker class breaks are used in the ClassBreakMarkerStyle. They allow you to display markers differently depending on ranges of data in the FeatureSource.
How marker class breaks work:
You add a number of MarkerClassBreak objects to the ClassBreaks collection. The numeric values of the breaks are important and you must place the breaks in numerical order. For example, break 0 must be added before break 100. In each ClassBreak, you specify the marker styles that will be applied to markers. Also, in the ClassBreakMarkerStyle.ColumnName property, you specify the name of the column where we will find the data used to compare the breaks. The column needs to be a numeric type.
When we proceed to draw the style, we look through the ClassBreaks and select the ClassBreak that is where the features column data is greater than and closest to the break value.
Example:
Feature Value = 42
ClassBreak1.Value = 0 ClassBreak2.Value = 20 ClassBreak3.Value = 40 ClassBreak4.Value = 60
In this case, the break closest to the feature value without exceeding it is ClassBreak3(40). If the feature value had been less than zero, nothing would have been drawn. If the feature value were 1000, then ClassBreak4 would draw.
If you wanted to represent a value that is less than zero, you could do that as shown in the sample below.
Feature Value = -1
ClassBreak1.Value = Double.Min ClassBreak2.Value = 0 ClassBreak3.Value = 20 ClassBreak4.Value = 40
In this example, the first marker class break would be used.
Your features should be point-based, such as a cities.
*System.Object **ThinkGeo.MapSuite.MvcEdition.MarkerClassBreak
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Initialize a new instance of the MarkerClassBreak class. | ||
![]() | Double | Initialize a new instance of the MarkerClassBreak class using the value specified. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | Object | |
![]() | Object | ||
![]() | Object | ||
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | ||
![]() | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | MarkerStyle | Gets or sets the style that could be any type of MarkerStyle. | |
![]() | PointMarkerStyle | Gets or sets the style that is applied to the markers if the CustomMarkerStyle is not defined. | |
![]() | Double | Gets or sets the break value. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
Initialize a new instance of the MarkerClassBreak class.
Initialize a new instance of the MarkerClassBreak class.
If you use this default constructor, then you should set the properties manually.
Name | Type | Description |
---|
Initialize a new instance of the MarkerClassBreak class using the value specified.
Initialize a new instance of the MarkerClassBreak class.
Name | Type | Description |
---|---|---|
value | Double<!– System.Double –> | A double value that is compared to the column value to determine whether to apply the specified style to markers. |
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Gets or sets the style that could be any type of MarkerStyle.
The <strong>CustomMarkerStyle</strong> could be any type of <strong>MarkerStyle</strong>. This style has a higher priority than the <strong>DefaultMarkerStyle</strong>. This means that if you defined both <strong>DefaultMarkerStyle</strong> and <strong>CustomMarkerStyle</strong>, the <strong>CustomMarkerStyle</strong> will be used.
Return Type |
---|
MarkerStyle<!– ThinkGeo.MapSuite.MvcEdition.MarkerStyle –> |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerClassBreak –> Go Back
Gets or sets the style that is applied to the markers if the CustomMarkerStyle is not defined.
Return Type |
---|
PointMarkerStyle<!– ThinkGeo.MapSuite.MvcEdition.PointMarkerStyle –> |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerClassBreak –> Go Back
Gets or sets the break value.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerClassBreak –> Go Back