User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.valuemarkerstyle

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.ValueMarkerStyle

<!– Class –> This class allows you to match a value with data in the feature to determine how to draw the feature.

Remarks

ValueMarkerStyle:

The ValueMarkerStyle allows you to match data in the FeatureSource with a value string. If the value matches, then we will use the style defined in that item to create the markers.

For example, you may have some data about cities, with each city categorized as either a high, medium or low pollution city. Based on the string values of “High”, “Medium” and “Low”, we can match on these. If a particular feature's data for the column matched “High”, then we would use the high MarkerValueItem's style to create that city's marker.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodValueMarkerStyle Initialize a new instance of the ValueMarkerStyle class.
Public MethodValueMarkerStyle String Initialize a new instance of the ValueMarkerStyle class with the columnName specified.
Public MethodValueMarkerStyle String, Collection<MarkerValueItem> Initialize a new instance of the ValueMarkerStyle class with the columnName and a collection of valueItems specified.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetMarkers IEnumerable<Feature> MarkerStyle(overriden) Returns a collection of markers with a style applied based on the features that are passed in.
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodGetContextMenusCore MarkerStyle(overriden) Gets a collection of context menus that are associated with the MarkerStyle.
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyColumnName String Gets or sets the column name used to match with the value specified in the items.
Public PropertyValueItems Collection<MarkerValueItem> Gets the collection of ValueItems. Each item can have a value to match.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

ValueMarkerStyle()

Initialize a new instance of the ValueMarkerStyle class.

Overloads

Initialize a new instance of the ValueMarkerStyle class.

Parameters

Name Type Description

Go Back

ValueMarkerStyle(String)

Initialize a new instance of the ValueMarkerStyle class with the columnName specified.

Overloads

Initialize a new instance of the ValueMarkerStyle class.

Parameters

Name Type Description
columnName String<!– System.String –> The column name used to match with the value specified in the items.

Go Back

ValueMarkerStyle(String, Collection<MarkerValueItem>)

Initialize a new instance of the ValueMarkerStyle class with the columnName and a collection of valueItems specified.

Overloads

Initialize a new instance of the ValueMarkerStyle class.

Parameters

Name Type Description
columnName String<!– System.String –> The column name used to match with the value specified in the items.
valueItems Collection<MarkerValueItem><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.MarkerValueItem} –> A collection of valueItems that defines the style applied to markers.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetMarkers(IEnumerable<Feature>)

Returns a collection of markers with a style applied based on the features that are passed in.

Return Value

Return Type Description
Collection<Marker><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.Marker} –> A collection of markers with a style applied based on the features that are passed in.

Parameters

Name Type Description
features IEnumerable<Feature><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Feature} –> A collection of features used to create the markers.

<!– ThinkGeo.MapSuite.MvcEdition.MarkerStyle(overriden) –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetContextMenusCore()

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

Return Value

Return Type Description
GeoKeyedCollection<ContextMenu><!– ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.ContextMenu} –> A collection of context menus that are associated with the MarkerStyle.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.MarkerStyle(overriden) –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

ColumnName

Gets or sets the column name used to match with the value specified in the items.

Remarks

This is the column whose values we will use for matching.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.ValueMarkerStyle –> Go Back

ValueItems

Gets the collection of ValueItems. Each item can have a value to match.

Remarks

You will want to add MarkerValueItems to this collection. Each item can have its own style and matching string.

Return Value

Return Type
Collection<MarkerValueItem><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.MarkerValueItem} –>

<!– ThinkGeo.MapSuite.MvcEdition.ValueMarkerStyle –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.valuemarkerstyle.1440040131.txt.gz · Last modified: 2015/09/21 03:36 (external edit)