This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.webedition.markerstyle [2015/09/18 03:08] admin |
thinkgeo.mapsuite.webedition.markerstyle [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.WebEdition.MarkerStyle ====== | ====== ThinkGeo.MapSuite.WebEdition.MarkerStyle ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This class is the base class for all classes that define the styles applied to the markers. | This class is the base class for all classes that define the styles applied to the markers. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 13: | Line 16: | ||
** {{wiki:ProtectedMethod.gif|}} MarkerStyle() ** | ** {{wiki:ProtectedMethod.gif|}} MarkerStyle() ** | ||
- | Initialize an instance of the MarkerStyle class. | + | * //Initialize an instance of the MarkerStyle class.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#MarkerStyle.28.29// |
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
Line 21: | Line 24: | ||
** {{wiki:PublicMethod.gif|}} GetRequiredColumnNames() ** | ** {{wiki:PublicMethod.gif|}} GetRequiredColumnNames() ** | ||
- | This method returns the column data for each feature that is required for the style to properly draw. | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | This method is the concrete wrapper for the abstract method GetRequiredColumnNamesCore. In this method, we return the column names that are required for the style to draw the feature properly. For example, if you have a style that colors areas blue when a certain column value is over 100, then you need to be sure you include that column name. This will ensure that the column data is returned to you in the feature when it is ready to draw. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore we read that property and add it to the collection. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#GetRequiredColumnNames.28.29// |
== Return Value == | == Return Value == | ||
* Type:Collection<String> | * Type:Collection<String> | ||
- | * Description:This method returns a collection of column names that the style needs. | + | * Description:N/A |
== Parameters == | == Parameters == | ||
Line 33: | Line 36: | ||
** {{wiki:PublicMethod.gif|}} GetMarkers(IEnumerable<Feature>) ** | ** {{wiki:PublicMethod.gif|}} GetMarkers(IEnumerable<Feature>) ** | ||
- | The abstract method returns a collection of markers from the features specified. | + | * //The abstract method returns a collection of markers from the features specified.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //For the most updated Info for this topic, please check it here:// |
== Return Value == | == Return Value == | ||
Line 49: | Line 52: | ||
** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#ToString.28.29// |
== Return Value == | == Return Value == | ||
Line 61: | Line 64: | ||
** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#Equals.28Object.29// |
== Return Value == | == Return Value == | ||
Line 77: | Line 80: | ||
** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#GetHashCode.28.29// |
== Return Value == | == Return Value == | ||
Line 89: | Line 92: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#GetType.28.29// |
== Return Value == | == Return Value == | ||
Line 102: | Line 105: | ||
** {{wiki:ProtectedMethod.gif|}} GetRequiredColumnNamesCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetRequiredColumnNamesCore() ** | ||
- | This method returns the column data for each feature that is required for the style to properly draw. | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | This abstract method is called from the concrete public method GetRequiredFieldNames. In this method, we return the column names that are required for the style to draw the feature properly. For example, if you have a style that colors areas blue when a certain column value is over 100, then you need to be sure you include that column name. This will ensure that the column data is returned to you in the feature when it is ready to draw. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore we read that property and add it to the collection. | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#GetRequiredColumnNamesCore.28.29// |
== Return Value == | == Return Value == | ||
* Type:Collection<String> | * Type:Collection<String> | ||
- | * Description:This method returns a collection of column names that the style needs. | + | * Description:N/A |
== Parameters == | == Parameters == | ||
Line 114: | Line 117: | ||
** {{wiki:ProtectedMethod.gif|}} GetContextMenusCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetContextMenusCore() ** | ||
- | Gets a collection of context menus that are associated with the MarkerStyle. | + | * //Gets a collection of context menus that are associated with the MarkerStyle.// |
== Remarks == | == Remarks == | ||
- | This method returns all of the context menus associated with the MarkerStyle to ensure that the events on the context menus can be properly fired. Override this method if you create your own custom MarkerStyle. | + | * //This method returns all of the context menus associated with the MarkerStyle to ensure that the events on the context menus can be properly fired. Override this method if you create your own custom MarkerStyle.// |
== Return Value == | == Return Value == | ||
Line 126: | Line 129: | ||
** {{wiki:ProtectedMethod.gif|}} ZhQ=() ** | ** {{wiki:ProtectedMethod.gif|}} ZhQ=() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 138: | Line 141: | ||
** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#Finalize.28.29// |
== Return Value == | == Return Value == | ||
Line 150: | Line 153: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#MemberwiseClone.28.29// |
== Return Value == | == Return Value == | ||
Line 163: | Line 166: | ||
** {{wiki:PublicProperty.gif|}} IsActive ** | ** {{wiki:PublicProperty.gif|}} IsActive ** | ||
- | This property gets and sets the active status of the style. | + | N/A |
== Remarks == | == Remarks == | ||
- | If the style is not active then it will not draw. | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#IsActive |
== Return Value == | == Return Value == | ||
* Type:Boolean | * Type:Boolean | ||
Line 171: | Line 174: | ||
** {{wiki:PublicProperty.gif|}} RequiredColumnNames ** | ** {{wiki:PublicProperty.gif|}} RequiredColumnNames ** | ||
- | This property gets the collection of fields that are required for the style. | + | N/A |
== Remarks == | == 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. | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerStyle#GetRequiredColumnNames.28.29 |
== Return Value == | == Return Value == | ||
* Type:Collection<String> | * Type:Collection<String> |