This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.mvcedition.valuemarkerstyle [2015/08/20 03:08] 127.0.0.1 external edit |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 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 ===== | ||
| - | *System.Object | ||
| - | **[[ThinkGeo.MapSuite.MvcEdition.MarkerStyle]] | ||
| - | ***[[ThinkGeo.MapSuite.MvcEdition.ValueMarkerStyle]] | ||
| - | ===== Members Summary ===== | ||
| - | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ValueMarkerStyle()|ValueMarkerStyle]] | | | Initialize a new instance of the ValueMarkerStyle class. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ValueMarkerStyle(String)|ValueMarkerStyle]] | String | | Initialize a new instance of the ValueMarkerStyle class with the columnName specified. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ValueMarkerStyle(String, Collection<MarkerValueItem>)|ValueMarkerStyle]] | String, Collection<[[ThinkGeo.MapSuite.MvcEdition.MarkerValueItem|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 ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetMarkers(IEnumerable<Feature>)|GetMarkers]] | IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | [[ThinkGeo.MapSuite.MvcEdition.MarkerStyle|MarkerStyle]](overriden) | Returns a collection of markers with a style applied based on the features that are passed in. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | ||
| - | |||
| - | ==== Protected Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetContextMenusCore()|GetContextMenusCore]] | | [[ThinkGeo.MapSuite.MvcEdition.MarkerStyle|MarkerStyle]](overriden) | Gets a collection of context menus that are associated with the MarkerStyle. | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | ||
| - | |||
| - | ==== Public Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ColumnName|ColumnName]] | String | | Gets or sets the column name used to match with the value specified in the items. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ValueItems|ValueItems]] | Collection<[[ThinkGeo.MapSuite.MvcEdition.MarkerValueItem|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 ^ | ||
| - | |||
| - | [[#Public Constructors|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. | | ||
| - | |||
| - | [[#Public Constructors|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<[[ThinkGeo.MapSuite.MvcEdition.MarkerValueItem|MarkerValueItem]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.MarkerValueItem} --> | A collection of valueItems that defines the style applied to markers. | | ||
| - | |||
| - | [[#Public Constructors|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 --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetHashCode() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Int32<!-- System.Int32 --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|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<[[ThinkGeo.MapSuite.MvcEdition.Marker|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<[[ThinkGeo.MapSuite.Core.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Feature} --> | A collection of features used to create the markers. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.MarkerStyle(overriden) --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetType() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Type<!-- System.Type --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ToString() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | String<!-- System.String --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ===== Protected Methods ===== | ||
| - | ==== Finalize() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== GetContextMenusCore() ==== | ||
| - | Gets a collection of context menus that are associated with the MarkerStyle. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | [[ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection|GeoKeyedCollection]]<[[ThinkGeo.MapSuite.MvcEdition.ContextMenu|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) --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== MemberwiseClone() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Object<!-- System.Object --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|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 --> | ||
| - | [[#Public Properties|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<[[ThinkGeo.MapSuite.MvcEdition.MarkerValueItem|MarkerValueItem]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.MarkerValueItem} --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.ValueMarkerStyle --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ===== Protected Properties ===== | ||
| - | ===== Public Events ===== | ||
| - | __NOTOC__ | ||
| - | [[Category:MvcEdition]] | ||
| - | [[Category:ThinkGeo.MapSuite.MvcEdition]] | ||
| - | [[Category:UpdateDocumentation]] | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.