dundas.controls.MapElementBase Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.MapElementBase
      dundas.controls.MapPath
      dundas.controls.MapShape
      dundas.controls.MapSymbol
 

Constructors

 
  Name Description
init Initializes the MapElementBase class.
 
 

Properties

 
  Name Description
alternateNames Gets or sets the alternate names of this map element.
compatibleName Gets or sets the compatible name of this map element.
context Gets or sets the context of this map element, used to differentiate shapes that may have identical names.
control Gets a reference to the parent control.
id Gets or sets the ID of this map element.
isHovered Gets a value indicating whether this map element is currently hovered over by the user and not set as selected.
isSelected Gets or sets a value indicating whether this map element is displayed as selected by the user.
isVisible Gets or sets a value indicating whether this map element is visible.
labelSettings Gets or sets the label setting. This overrides the default label setting.
metricSetBindingId Gets the ID of the metric set binding providing data to this map element.
name Gets or sets the name of this map element.
row Gets the row number the map element maps to in the data source.
stroke Gets or sets the settings used to draw an outline around this element.
strokeWidth Gets or sets the width of the outline drawn around this element.
tooltipText Gets or sets the tooltip text. This overrides the default tooltip text.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getBoundingBox Gets the bounding box of the map element.
getLabelText Gets the label text for the map element.
getSize Gets the size of the map element.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.