Packagecom.esri.bao.tasks.thematicmapping
Classpublic final class ThematicMappingLayer
InheritanceThematicMappingLayer Inheritance com.esri.ags.layers.GraphicsLayer

The ThematicMappingLayer implements a thematic layer which can be added to map control as a layer.

The thematic layer symbolizes areas (standard geographies) according to the value of the selected thematic variable (summarization variable) and classification scheme employed.



Public Properties
 PropertyDefined by
  geographyLevels : Array
[read-only] Array of available geography levels consisting of GeographyLevelInfo items.
ThematicMappingLayer
  glowEffect : Glow
Glow effect.
ThematicMappingLayer
  isVisibleGeographyInfo : Boolean
Is the thematic layer prepared for visualizing.
ThematicMappingLayer
  lastClassificationResults : ClassificationResults
[read-only] Last features classification results.
ThematicMappingLayer
  lastRenderedLayer : GeographyLayerInfo
[read-only] Last rendered layer.
ThematicMappingLayer
  layerInfo : GeographyLayerInfo
Current geography layer.
ThematicMappingLayer
  lineSymbol : SimpleLineSymbol
Line symbol.
ThematicMappingLayer
  proxyURL : String
The URL to proxy the request through.
ThematicMappingLayer
  queryResults : ThematicMappingQueryResults
[read-only] Last query results.
ThematicMappingLayer
  rendererInfo : ThematicMappingRendererInfo
Layer rendering properties.
ThematicMappingLayer
  requestTimeout : Number
The request timeout in seconds.
ThematicMappingLayer
  token : String
Business Analyst Online authentication token.
ThematicMappingLayer
  tokenProvider : BAOnlineTokenProvider
Provider responsible for updating the security token if the last one expires.
ThematicMappingLayer
  url : String
Base Business Analyst Online Web service URL.
ThematicMappingLayer
Public Methods
 MethodDefined by
  
Creates a new instance of the ThematicMappingLayer class.
ThematicMappingLayer
  
execute():void
Activates the thematic layer.
ThematicMappingLayer
  
initializeLayer(responder:IResponder):void
ThematicMappingLayer
  
Updates properties of the thematic layer.
ThematicMappingLayer
Events
 EventSummaryDefined by
   The updateChartData event is dispatched when chart data are updated.ThematicMappingLayer
   The updateGeographyLevels event is dispatched when the list of geography levels is updated.ThematicMappingLayer
   The updateLegendData event is dispatched when data legend is updated.ThematicMappingLayer
Property detail
geographyLevelsproperty
geographyLevels:Array  [read-only]

Array of available geography levels consisting of GeographyLevelInfo items.

Implementation
    public function get geographyLevels():Array
glowEffectproperty 
glowEffect:Glow  [read-write]

Glow effect.

Implementation
    public function get glowEffect():Glow
    public function set glowEffect(value:Glow):void
isVisibleGeographyInfoproperty 
isVisibleGeographyInfo:Boolean  [read-write]

Is the thematic layer prepared for visualizing.

Implementation
    public function get isVisibleGeographyInfo():Boolean
    public function set isVisibleGeographyInfo(value:Boolean):void
lastClassificationResultsproperty 
lastClassificationResults:ClassificationResults  [read-only]

Last features classification results.

Implementation
    public function get lastClassificationResults():ClassificationResults
lastRenderedLayerproperty 
lastRenderedLayer:GeographyLayerInfo  [read-only]

Last rendered layer.

Implementation
    public function get lastRenderedLayer():GeographyLayerInfo
layerInfoproperty 
layerInfo:GeographyLayerInfo  [read-write]

Current geography layer.

Implementation
    public function get layerInfo():GeographyLayerInfo
    public function set layerInfo(value:GeographyLayerInfo):void
lineSymbolproperty 
lineSymbol:SimpleLineSymbol  [read-write]

Line symbol.

Implementation
    public function get lineSymbol():SimpleLineSymbol
    public function set lineSymbol(value:SimpleLineSymbol):void
proxyURLproperty 
proxyURL:String  [read-write]

The URL to proxy the request through.

Implementation
    public function get proxyURL():String
    public function set proxyURL(value:String):void
queryResultsproperty 
queryResults:ThematicMappingQueryResults  [read-only]

Last query results.

Implementation
    public function get queryResults():ThematicMappingQueryResults
rendererInfoproperty 
rendererInfo:ThematicMappingRendererInfo  [read-write]

Layer rendering properties.

Implementation
    public function get rendererInfo():ThematicMappingRendererInfo
    public function set rendererInfo(value:ThematicMappingRendererInfo):void
requestTimeoutproperty 
requestTimeout:Number  [read-write]

The request timeout in seconds. A value less than or equal to zero prevents request timeout.

The default value is -1.

Implementation
    public function get requestTimeout():Number
    public function set requestTimeout(value:Number):void
tokenproperty 
token:String  [read-write]

Business Analyst Online authentication token.

Implementation
    public function get token():String
    public function set token(value:String):void
tokenProviderproperty 
tokenProvider:BAOnlineTokenProvider  [read-write]

Provider responsible for updating the security token if the last one expires.

Implementation
    public function get tokenProvider():BAOnlineTokenProvider
    public function set tokenProvider(value:BAOnlineTokenProvider):void
urlproperty 
url:String  [read-write]

Base Business Analyst Online Web service URL.

Implementation
    public function get url():String
    public function set url(value:String):void
Constructor detail
ThematicMappingLayer()constructor
public function ThematicMappingLayer()

Creates a new instance of the ThematicMappingLayer class.

Method detail
execute()method
public function execute():void

Activates the thematic layer.

initializeLayer()method 
public function initializeLayer(responder:IResponder):voidParameters
responder:IResponder
updateProperties()method 
public function updateProperties():void

Updates properties of the thematic layer.

To update properties of the thematic layer the following conditions should be fullfilled. The thematic layer should be initialized, a map should be associated with the layer and its spatial reference must be specified, a thematic mapping field must be set, the layer should be visible and active.

Event detail
updateChartDataevent 
Event object type: com.esri.bao.tasks.thematicmapping.RendererUpdatedEvent
RendererUpdatedEvent.type property = com.esri.bao.tasks.thematicmapping.RendererUpdatedEvent.UPDATE_CHAR_DATA

The updateChartData event is dispatched when chart data are updated.

The RendererUpdatedEvent.UPDATE_CHAR_DATA constant defines an event dispatched when chart data are updated.

updateGeographyLevelsevent  
Event object type: com.esri.bao.tasks.thematicmapping.RendererUpdatedEvent
RendererUpdatedEvent.type property = com.esri.bao.tasks.thematicmapping.RendererUpdatedEvent.UPDATE_GEOGRAPHY_LEVELS

The updateGeographyLevels event is dispatched when the list of geography levels is updated.

The RendererUpdatedEvent.UPDATE_LEGEND_DATA constant defines an event dispatched when the list of geography levels is updated.

updateLegendDataevent  
Event object type: com.esri.bao.tasks.thematicmapping.RendererUpdatedEvent
RendererUpdatedEvent.type property = com.esri.bao.tasks.thematicmapping.RendererUpdatedEvent.UPDATE_LEGEND_DATA

The updateLegendData event is dispatched when data legend is updated.

The RendererUpdatedEvent.UPDATE_LEGEND_DATA constant defines an event dispatched when data legend is updated.