User Tools

Site Tools


thinkgeo.mapsuite.core.iconvaluestyle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
thinkgeo.mapsuite.core.iconvaluestyle [2015/09/18 05:44]
admin
thinkgeo.mapsuite.core.iconvaluestyle [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.Core.IconValueStyle ====== ====== ThinkGeo.MapSuite.Core.IconValueStyle ======
 +
 +{{section>​upgrade_map_suite_to_10.0}}
 +
 This class allows you to choose different icons based on values in the data of a feature. This class allows you to choose different icons based on values in the data of a feature.
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
Line 10: Line 13:
 ** {{wiki:​PublicMethod.gif|}} IconValueStyle() ** ** {{wiki:​PublicMethod.gif|}} IconValueStyle() **
  
-This is the constructor for the class.+  * //This is the constructor for the class.//
 == Remarks == == Remarks ==
-If you use this constructor,​ then you need to set the required properties manually.+  * //If you use this constructor,​ then you need to set the required properties manually.//
 == Parameters == == Parameters ==
 <div newline></​div>​ <div newline></​div>​
 ** {{wiki:​PublicMethod.gif|}} IconValueStyle(String) ** ** {{wiki:​PublicMethod.gif|}} IconValueStyle(String) **
  
-This is the constructor for the class.+  * //This is the constructor for the class.//
 == Remarks == == Remarks ==
-None+  * //None//
 == Parameters == == Parameters ==
   * //​columnName//​   * //​columnName//​
Line 28: Line 31:
 ** {{wiki:​PublicMethod.gif|}} IconValueStyle(String,​IEnumerable<​IconValueItem>​) ** ** {{wiki:​PublicMethod.gif|}} IconValueStyle(String,​IEnumerable<​IconValueItem>​) **
  
-This is the constructor for the class.+  * //This is the constructor for the class.//
 == Remarks == == Remarks ==
-None+  * //None//
 == Parameters == == Parameters ==
   * //​columnName//​   * //​columnName//​
Line 45: Line 48:
 ** {{wiki:​PublicMethod.gif|}} CloneDeep() ** ** {{wiki:​PublicMethod.gif|}} CloneDeep() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 57: Line 60:
 ** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 85: Line 88:
 ** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​BaseShape>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​BaseShape>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 113: Line 116:
 ** {{wiki:​PublicMethod.gif|}} GetRequiredColumnNames() ** ** {{wiki:​PublicMethod.gif|}} GetRequiredColumnNames() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 125: Line 128:
 ** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas,​DrawingRectangleF) ** ** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas,​DrawingRectangleF) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 145: Line 148:
 ** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas) ** ** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 161: Line 164:
 ** {{wiki:​PublicMethod.gif|}} SaveStyle(String) ** ** {{wiki:​PublicMethod.gif|}} SaveStyle(String) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 177: Line 180:
 ** {{wiki:​PublicMethod.gif|}} SaveStyle(Stream) ** ** {{wiki:​PublicMethod.gif|}} SaveStyle(Stream) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 193: Line 196:
 ** {{wiki:​PublicMethod.gif|}} ToString() ** ** {{wiki:​PublicMethod.gif|}} ToString() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 205: Line 208:
 ** {{wiki:​PublicMethod.gif|}} Equals(Object) ** ** {{wiki:​PublicMethod.gif|}} Equals(Object) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 221: Line 224:
 ** {{wiki:​PublicMethod.gif|}} GetHashCode() ** ** {{wiki:​PublicMethod.gif|}} GetHashCode() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 233: Line 236:
 ** {{wiki:​PublicMethod.gif|}} GetType() ** ** {{wiki:​PublicMethod.gif|}} GetType() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 246: Line 249:
 ** {{wiki:​ProtectedMethod.gif|}} DrawCore(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} DrawCore(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-This method draws the features on the canvas you provided.+  * //This method draws the features on the canvas you provided.//
 == Remarks == == Remarks ==
-This overridden method is called from the concrete public method Draw. In this method, we take the features you passed in and draw them on the canvas you provided. Each style (based on its properties) may draw each feature differently. When overriding this method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. 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.+  * //This overridden method is called from the concrete public method Draw. In this method, we take the features you passed in and draw them on the canvas you provided. Each style (based on its properties) may draw each feature differently. When overriding this method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. 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.//
  
 == Return Value == == Return Value ==
Line 274: Line 277:
 ** {{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.+  * //This method returns the column data for each feature that is required for the style to properly draw.//
 == 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.+  * //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.//
  
 == Return Value == == Return Value ==
Line 286: Line 289:
 ** {{wiki:​ProtectedMethod.gif|}} GetLabelingCandidateCore(Feature,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} GetLabelingCandidateCore(Feature,​GeoCanvas) **
  
-This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set.+  * //This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set.//
 == Remarks == == Remarks ==
-This overridden method is called from the concrete public method Draw. In this method, we take the feature you passed in and determine if it is a candidate for labeling. If it is, then we will add it to the return collection. The algorithm to determine whether the label will draw is complex and determined by a number of properties and factors.+  * //This overridden method is called from the concrete public method Draw. In this method, we take the feature you passed in and determine if it is a candidate for labeling. If it is, then we will add it to the return collection. The algorithm to determine whether the label will draw is complex and determined by a number of properties and factors.//
  
 == Return Value == == Return Value ==
Line 306: Line 309:
 ** {{wiki:​ProtectedMethod.gif|}} FilterFeatures(IEnumerable<​Feature>,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} FilterFeatures(IEnumerable<​Feature>,​GeoCanvas) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 326: Line 329:
 ** {{wiki:​ProtectedMethod.gif|}} FilterFeaturesCore(IEnumerable<​Feature>,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} FilterFeaturesCore(IEnumerable<​Feature>,​GeoCanvas) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 346: Line 349:
 ** {{wiki:​ProtectedMethod.gif|}} AbbreviateText(Feature,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} AbbreviateText(Feature,​GeoCanvas) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 366: Line 369:
 ** {{wiki:​ProtectedMethod.gif|}} AbbreviateTextCore(Feature,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} AbbreviateTextCore(Feature,​GeoCanvas) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 386: Line 389:
 ** {{wiki:​ProtectedMethod.gif|}} GetLabelingCandidates(Feature,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} GetLabelingCandidates(Feature,​GeoCanvas) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 406: Line 409:
 ** {{wiki:​ProtectedMethod.gif|}} CheckDuplicate(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} CheckDuplicate(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 434: Line 437:
 ** {{wiki:​ProtectedMethod.gif|}} CheckDuplicateCore(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} CheckDuplicateCore(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 462: Line 465:
 ** {{wiki:​ProtectedMethod.gif|}} CheckOverlapping(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} CheckOverlapping(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 490: Line 493:
 ** {{wiki:​ProtectedMethod.gif|}} CheckOverlappingCore(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} CheckOverlappingCore(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 516: Line 519:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}} ​lD8=(PolygonShape,​String,​GeoCanvas) **+** {{wiki:​ProtectedMethod.gif|}} ​GetLabelingCandidateForOnePolygon(PolygonShape,​String,​GeoCanvas) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 542: Line 545:
 ** {{wiki:​ProtectedMethod.gif|}} Format(String,​BaseShape) ** ** {{wiki:​ProtectedMethod.gif|}} Format(String,​BaseShape) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 562: Line 565:
 ** {{wiki:​ProtectedMethod.gif|}} FormatCore(String,​BaseShape) ** ** {{wiki:​ProtectedMethod.gif|}} FormatCore(String,​BaseShape) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 582: Line 585:
 ** {{wiki:​ProtectedMethod.gif|}} OnFormatting(FormattingPositionStyleEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnFormatting(FormattingPositionStyleEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 598: Line 601:
 ** {{wiki:​ProtectedMethod.gif|}} OnFormatted(FormattedPositionStyleEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnFormatted(FormattedPositionStyleEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 614: Line 617:
 ** {{wiki:​ProtectedMethod.gif|}} CloneDeepCore() ** ** {{wiki:​ProtectedMethod.gif|}} CloneDeepCore() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 626: Line 629:
 ** {{wiki:​ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,​DrawingRectangleF) ** ** {{wiki:​ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,​DrawingRectangleF) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 646: Line 649:
 ** {{wiki:​ProtectedMethod.gif|}} Finalize() ** ** {{wiki:​ProtectedMethod.gif|}} Finalize() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 658: Line 661:
 ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 902: Line 905:
  
 ==== Protected Properties ==== ==== Protected Properties ====
-** {{wiki:​ProtectedProperty.gif|}} ​xT8= **+** {{wiki:​ProtectedProperty.gif|}} ​IsStyleDefault ​**
  
 N/A N/A
Line 1078: Line 1081:
   * Type:​[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]   * Type:​[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]
  
-** {{wiki:​ProtectedProperty.gif|}} ​uBs= **+** {{wiki:​ProtectedProperty.gif|}} ​IsDefault ​**
  
 N/A N/A
thinkgeo.mapsuite.core.iconvaluestyle.1442555069.txt.gz ยท Last modified: 2015/09/18 05:44 by admin