Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –> This class represents a style based on class break values.
The <strong>ClassBreakMarkerStyle</strong> allows you to change the appearance of markers based on their data values. It is often useful for you to display markers differently based on ranges of numeric values. For example, you may have a city ShapeFile that has the populations of each city as part of its data. You may then want to mark cities differently based on their population. The ClassBreakMarkerStyle allows you to do this.
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.MarkerStyle *ThinkGeo.MapSuite.MvcEdition.ClassBreakMarkerStyle
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
ClassBreakMarkerStyle | Initialize a new instance of the ClassBreakMarkerStyle class. | ||
ClassBreakMarkerStyle | String | Initialize a new instance of the ClassBreakMarkerStyle class with the columnName specified. | |
ClassBreakMarkerStyle | String, BreakValueInclusion | Initialize a new instance of the ClassBreakMarkerStyle class with the columnName and breakValueInclusion specified. | |
ClassBreakMarkerStyle | String, BreakValueInclusion, Collection<MarkerClassBreak> | Initialize a new instance of the ClassBreakMarkerStyle class with the columnName and breakValueInclusion specified. |
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Equals | Object | Object | |
GetHashCode | Object | ||
GetMarkers | IEnumerable<Feature> | MarkerStyle(overriden) | Returns a collection of markers that are created by the styles defined on the classbreaks. |
GetType | Object | ||
ToString | Object |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Finalize | Object | ||
GetContextMenusCore | MarkerStyle(overriden) | Gets a collection of context menus that are associated with the MarkerStyle. | |
MemberwiseClone | Object |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
BreakValueInclusion | BreakValueInclusion | Gets or sets the value that indicates whether or not to include the break value when comparing the break. | |
ClassBreaks | Collection<MarkerClassBreak> | Gets a collection of class breaks whose values are compared with the column value to determine which ClassBreakStyles are applied to the markers. | |
ColumnName | String | Gets or sets a column name whose value is used to compare and select the break. |
| Name | Return | DeclaringType | Summary |
|---|
| Name | Event Arguments | DeclaringType | Summary |
|---|
Initialize a new instance of the ClassBreakMarkerStyle class.
Initialize a new instance of the ClassBreakMarkerStyle class.
| Name | Type | Description |
|---|
Initialize a new instance of the ClassBreakMarkerStyle class with the columnName specified.
Initialize a new instance of the ClassBreakMarkerStyle class.
| Name | Type | Description |
|---|---|---|
| columnName | String<!– System.String –> | The column name in the feature whose value is used to compare and select the break. |
Initialize a new instance of the ClassBreakMarkerStyle class with the columnName and breakValueInclusion specified.
Initialize a new instance of the ClassBreakMarkerStyle class.
| Name | Type | Description |
|---|---|---|
| columnName | String<!– System.String –> | The column name in the feature whose value is used to compare and select the break. |
| breakValueInclusion | BreakValueInclusion<!– ThinkGeo.MapSuite.Core.BreakValueInclusion –> | A value that indicates whether or not to include the break value when comparing the break. |
Initialize a new instance of the ClassBreakMarkerStyle class with the columnName and breakValueInclusion specified.
Initialize a new instance of the ClassBreakMarkerStyle class.
| Name | Type | Description |
|---|---|---|
| columnName | String<!– System.String –> | The column name in the feature whose value is used to compare and select the break. |
| breakValueInclusion | BreakValueInclusion<!– ThinkGeo.MapSuite.Core.BreakValueInclusion –> | A value that indicates whether or not to include the break value when comparing the break. |
| classBreaks | Collection<MarkerClassBreak><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.MarkerClassBreak} –> | A collection of class breaks whose values are compared with the column value to determine which classbreak styles are applied to the 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
Returns a collection of markers that are created by the styles defined on the classbreaks.
| Return Type | Description |
|---|---|
| Collection<Marker><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.Marker} –> |
| Name | Type | Description |
|---|---|---|
| features | IEnumerable<Feature><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Feature} –> | A collection of features that the markers are created from. |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerStyle(overriden) –> 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
Gets a collection of context menus that are associated with the MarkerStyle.
| Return Type | Description |
|---|---|
| GeoKeyedCollection<ContextMenu><!– ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.ContextMenu} –> | A collection of context menus that are associated with the MarkerStyle. |
| Name | Type | Description |
|---|
<!– ThinkGeo.MapSuite.MvcEdition.MarkerStyle(overriden) –> Go Back
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
Gets or sets the value that indicates whether or not to include the break value when comparing the break.
Example: If you have a class break value set to 100 and the break value is included, then 100 is included for this break. If you set the value to excluded, then 100 would match with the break below 100 instead.
Please see the ClassBreakStyle class remarks for a full description of how the ClassBreakStyle works.
| Return Type |
|---|
| BreakValueInclusion<!– ThinkGeo.MapSuite.Core.BreakValueInclusion –> |
<!– ThinkGeo.MapSuite.MvcEdition.ClassBreakMarkerStyle –> Go Back
Gets a collection of class breaks whose values are compared with the column value to determine which ClassBreakStyles are applied to the markers.
The class breaks determine which style to use, based on the break values.
Please see the ClassBreakStyle class remarks for a full description of how the ClassBreakStyle works.
| Return Type |
|---|
| Collection<MarkerClassBreak><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.MarkerClassBreak} –> |
<!– ThinkGeo.MapSuite.MvcEdition.ClassBreakMarkerStyle –> Go Back
Gets or sets a column name whose value is used to compare and select the break.
You use this property to set the name of the column where the numeric data is stored for your features.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.ClassBreakMarkerStyle –> Go Back
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.