dundas.controls.MapStateStyle Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.MapStateStyle
      dundas.controls.MapPathStateStyle
      dundas.controls.MapShapeStateStyle
      dundas.controls.MapSymbolStateStyle
 

Constructors

 
  Name Description
init Initializes the instance. Called during construction.
 
 

Properties

 
  Name Description
isDisplayedInLegend Gets or sets the value indicating whether this state style is displayed in the legend.
labelSettings Gets or sets the label settings applied to map elements that belong to this state.
legendCategory Gets or sets the legend category for map elements that belong to this state. Legend category can contain keywords that will be mapped to string before displaying it.
legendText Gets or sets the legend text for map elements that belong to this state. Legend text can contain keywords that will be mapped to string before displaying it.
stateId Gets or sets the ID of the state for which this instance customizes the appearance.
stroke Gets or sets the stroke color for this elements.
strokeWidth Gets or sets the stroke width for this elements.
tooltipText Gets or sets the tooltip text for map elements that belong to this state. Tooltip text can contain keywords that will be mapped to string before displaying it.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
toString Returns a string representation of the object.