User Tools

Site Tools


thinkgeo.mapsuite.webedition.markerstyle

This is an old revision of the document!


ThinkGeo.MapSuite.WebEdition.MarkerStyle

This class is the base class for all classes that define the styles applied to the markers.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

MarkerStyle()

Initialize an instance of the MarkerStyle class.

Remarks

N/A

Parameters

Public Methods

GetRequiredColumnNames()

This method returns the column data for each feature that is required for the style to properly draw.

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.

Return Value
  • Type:Collection<String>
  • Description:This method returns a collection of column names that the style needs.
Parameters

GetMarkers(IEnumerable<Feature>)

The abstract method returns a collection of markers from the features specified.

Remarks

N/A

Return Value
  • Type:Collection<Marker>
  • Description:N/A
Parameters
  • features
    • Type:IEnumerable<Feature>
    • Description:A collection of features that the markers will be created from.

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

GetRequiredColumnNamesCore()

This method returns the column data for each feature that is required for the style to properly draw.

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.

Return Value
  • Type:Collection<String>
  • Description:This method returns a collection of column names that the style needs.
Parameters

GetContextMenusCore()

Gets a collection of context menus that are associated with the MarkerStyle.

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.

Return Value
Parameters

ZhQ=()

N/A

Remarks

N/A

Return Value
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

IsActive

This property gets and sets the active status of the style.

Remarks

If the style is not active then it will not draw.

Return Value
  • Type:Boolean

RequiredColumnNames

This property gets the collection of fields that are required for the style.

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.

Return Value
  • Type:Collection<String>

Protected Properties

Public Events

thinkgeo.mapsuite.webedition.markerstyle.1442545716.txt.gz · Last modified: 2015/09/18 03:08 by admin