User Tools

Site Tools


api:thinkgeo.mapsuite.webforms.markerstyle

ThinkGeo.MapSuite.WebForms.MarkerStyle

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

MarkerStyle()

  • Initialize an instance of the MarkerStyle class.
Remarks
  • N/A
Parameters

Public Methods

GetRequiredColumnNames()

  • N/A
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>)

  • N/A
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()

  • N/A
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()

  • N/A
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

GetContextMenus()

  • 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

  • N/A
Remarks
  • If the style is not active then it will not draw.
Return Value
  • Type:Boolean

RequiredColumnNames

  • N/A
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

api/thinkgeo.mapsuite.webforms.markerstyle.txt · Last modified: 2017/01/11 06:59 (external edit)