Packagecom.esri.baserver.tasks.stdgeographies
Classpublic class ThematicMappingLayer
InheritanceThematicMappingLayer Inheritance TMLayer Inheritance com.esri.ags.layers.GraphicsLayer

The ThematicMappingLayer class provides a thematically shaded standard geography layer.

Default MXML PropertygraphicProvider



Public Properties
 PropertyDefined By
  activeDatasetID : String
Active dataset ID.
ThematicMappingLayer
 InheritedadditionalFields : ArrayCollection
[read-only] Additional fields of the thematic layer requested in every query.
TMLayer
 InheritedanalysisExtent : Geometry
Spatial/geographic extent on which to perform the query.
TMLayer
 InheritedattributesProvider : TMAttributesProvider
[read-only] Provider of thematic mapping attributes.
TMLayer
 InheritedautoUpdate : Boolean
The mode of applying updates to thematic layer.
TMLayer
 InheritedbestLayer : IGeographyLayerInfo
[read-only] Geography layer which is best to show for the current map extent.
TMLayer
 InheritedborderSymbol : SimpleLineSymbol
The symbol to draw borders around features.
TMLayer
 InheritedcanUpdateVisualState : Boolean
[read-only] Returns true if the visual state of this layer can be modified.
TMLayer
  classification : Classification
Deprecated Since Business Analyst API for Flex 2.1: Please Use com.esri.bacore.thematicmapping.symbolization.TMClassificationProvider.classification
Classification instance responsible for calculation class breaks (this property is deprecated).
ThematicMappingLayer
 InheritedcolorRamp : ColorRamp
Color Ramp to thematically shade this layer with.
TMLayer
  colorRampSchemas : Array
[static] [read-only] Predefined collection of Business Analyst Server color ramp schemas.
ThematicMappingLayer
  dataHierarchy : String
Name of a data hierarchy used for summarization.
ThematicMappingLayer
  disableClientCaching : Boolean
If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from being loaded from the browser's cache.
ThematicMappingLayer
 InheritedgeographyLayer : IGeographyLayerInfo
[read-only] A geography layer whose features are currently shown in this layer.
TMLayer
 InheritedgeographyLevelAliasName : String
[read-only] Alias name of the geography level whose layer is currently shown in this layer.
TMLayer
 InheritedgeographyLevelName : String
Name of the geography level whose layer is currently shown in this layer.
TMLayer
 InheritedgeographyLevels : GeographyLevels
[read-only] Available geography levels.
TMLayer
 InheritedgeographyLevelsFilter : Function
[write-only] Filter for geography levels available in thematic layer.
TMLayer
 InheritedintersectAnalysisExtentWithMapExtent : Boolean
Defines how to compose an extent to perform the query when analysis extent is specified.
TMLayer
  isFullErrorMessage : Boolean
Produce an error message with stack trace (true) or without stack trace (false).
ThematicMappingLayer
 InheritedisReady : Boolean
[read-only] Is true if this layer is ready for show on map.
TMLayer
 InheritedisUpdating : Boolean
[read-only] Is true if this layer is now updating.
TMLayer
  lastClassificationResults : ClassificationResults
Deprecated Since Business Analyst API for Flex 2.1: Please Use com.esri.bacore.thematicmapping.symbolization.TMClassificationProvider.lastClassificationResults
[read-only] Last classification results (this property is deprecated).
ThematicMappingLayer
 InheritedmapExtentDrift : Number
Fraction of linear drift of map extent which is ignored in the auto-update mode.
TMLayer
  numBreaks : int
Deprecated Since Business Analyst API for Flex 2.1: Please Use com.esri.bacore.thematicmapping.symbolization.TMClassificationProvider.classification.numBreaks
Number of class breaks (this property is deprecated).
ThematicMappingLayer
  proxyUrl : String
The URL to proxy the request through.
ThematicMappingLayer
 InheritedqueryTaskProvider : TMQueryTaskProvider
[read-only] Provider of thematic mapping query task.
TMLayer
  requestTimeout : int
The request timeout in seconds.
ThematicMappingLayer
 InheritedshowMissingValuesAsZeroes : Boolean
Specifies how to convert missing values of attributes with attributes provider: to zeros (true) or to NaN (false).
TMLayer
 InheritedspatialRelationship : SpatialRelEnum
The spatial selection method used for selection geography layer features in query task.
TMLayer
 InheritedsymbolizationProvider : TMSymbolizationProvider
Symbolization provider associated with this thematic layer.
TMLayer
 InheritedtmValueField : String
Name of the calculated field which will contain a value to render the thematic layer by.
TMLayer
  token : String
Token for accessing a secure HTTP client.
ThematicMappingLayer
  tokenProvider : ITokenProvider
Provider responsible for updating the security token if the last one expires.
ThematicMappingLayer
  url : String
The base URL to the Business Analyst Server HTTP Service.
ThematicMappingLayer
 InheritedvalueCalculator : ValueCalculator
Calculator of value to thematically shade this layer by.
TMLayer
 Inheritedwhere : String
Query WHERE clause.
TMLayer
 InheritedzIndex : int
The base z-index of features of this layer.
TMLayer
Public Methods
 MethodDefined By
  
Creates a new instance of the ThematicMappingLayer class.
ThematicMappingLayer
 Inherited
applyUpdates(forceUpdates:Boolean = false):Boolean
Applies updates collected on this layer.
TMLayer
 Inherited
createDescription(graphic:Graphic, descriptionStyle:ValueDescriptionStyle):Object
[static] Creates fields describing value calculation properties for the given graphic feature of a thematic layer.
TMLayer
 Inherited
createDescriptionFields(graphic:Graphic, descriptionStyle:ValueDescriptionStyle):Array
[static] Creates an array of fields describing value calculation properties for the given graphic feature of a thematic layer.
TMLayer
 Inherited
executeQueryTask(layerInfo:IGeographyLayerInfo, query:Query, responder:IResponder):Boolean
Executes a query for the given geography layer.
TMLayer
 Inherited
getLegendInfos(responder:IResponder = null):AsyncToken
[override] Gets legend infos.
TMLayer
 Inherited
initializeQueryTask(responder:IResponder):Boolean
Initializes the query task associated with this layer.
TMLayer
 Inherited
isGeographyLevelAvailable(name:String):Boolean
Tests the geography level to be available for the current map scale.
TMLayer
 Inherited
prepareQuery():Query
Prepares base query parameters.
TMLayer
 Inherited
Suspends auto updates for this layer.
TMLayer
 Inherited
updateTooltips():Boolean
Immediately updates graphic tooltips if this is possible.
TMLayer
 Inherited
Immediately updates the visual state of this layer if this is possible.
TMLayer
Protected Methods
 MethodDefined By
  
[override] Creates the default symbolization provider to be used together with this thematic layer.
ThematicMappingLayer
Events
 Event Summary Defined By
 InheritedThe extentChange event is dispatched when the current map extent is changed.TMLayer
 InheritedThe fault event is dispatched when an asynchronous execution of query task fails.TMLayer
 InheritedThe propertyChange event is dispatched when a property of thematic layer is changed.TMLayer
 InheritedThe taskProgress event is dispatched when a thematic layer update state is changed.TMLayer
 InheritedThe tmLayerAvailable event is dispatched when the thematic layer availability is changed.TMLayer
 InheritedThe tmLayerChanged event is dispatched when the thematic layer updates are completed.TMLayer
 InheritedThe tmRenderer event is dispatched while updating a symbol for rendering a graphic.TMLayer
 InheritedThe tmValueUpdated event is dispatched when the thematic value of a graphic is updated.TMLayer
Property Detail
activeDatasetIDproperty
activeDatasetID:String

Active dataset ID. Null value means the default Business Analyst Server dataset which is the first dataset in the dataset list is used.

The default value is null.


Implementation
    public function get activeDatasetID():String
    public function set activeDatasetID(value:String):void
classificationproperty 
classification:Classification
Deprecated Since Business Analyst API for Flex 2.1: Please Use com.esri.bacore.thematicmapping.symbolization.TMClassificationProvider.classification

Classification instance responsible for calculation class breaks (this property is deprecated).

The default value is an instance of the TMClassification type.


Implementation
    public function get classification():Classification
    public function set classification(value:Classification):void

See also

colorRampSchemasproperty 
colorRampSchemas:Array  [read-only]

Predefined collection of Business Analyst Server color ramp schemas.


Implementation
    public static function get colorRampSchemas():Array
dataHierarchyproperty 
dataHierarchy:String

Since : Community Analyst API for Flex 2.2.

Name of a data hierarchy used for summarization. If this property value is null or empty, the default data hierarchy is used. List of available data hierarchies can be retrieved with Get Data Hierarchies task.


Implementation
    public function get dataHierarchy():String
    public function set dataHierarchy(value:String):void

See also

disableClientCachingproperty 
disableClientCaching:Boolean

If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from being loaded from the browser's cache.

The default value is false.


Implementation
    public function get disableClientCaching():Boolean
    public function set disableClientCaching(value:Boolean):void
isFullErrorMessageproperty 
isFullErrorMessage:Boolean

Produce an error message with stack trace (true) or without stack trace (false).


Implementation
    public function get isFullErrorMessage():Boolean
    public function set isFullErrorMessage(value:Boolean):void
lastClassificationResultsproperty 
lastClassificationResults:ClassificationResults  [read-only]
Deprecated Since Business Analyst API for Flex 2.1: Please Use com.esri.bacore.thematicmapping.symbolization.TMClassificationProvider.lastClassificationResults

Last classification results (this property is deprecated).

The default value is an empty collection of classification results.


Implementation
    public function get lastClassificationResults():ClassificationResults
numBreaksproperty 
numBreaks:int
Deprecated Since Business Analyst API for Flex 2.1: Please Use com.esri.bacore.thematicmapping.symbolization.TMClassificationProvider.classification.numBreaks

Number of class breaks (this property is deprecated).

The default value is 5.


Implementation
    public function get numBreaks():int
    public function set numBreaks(value:int):void
proxyUrlproperty 
proxyUrl:String

The URL to proxy the request through.


Implementation
    public function get proxyUrl():String
    public function set proxyUrl(value:String):void
requestTimeoutproperty 
requestTimeout:int

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():int
    public function set requestTimeout(value:int):void
tokenproperty 
token:String

Token for accessing a secure HTTP client.


Implementation
    public function get token():String
    public function set token(value:String):void
tokenProviderproperty 
tokenProvider:ITokenProvider

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


Implementation
    public function get tokenProvider():ITokenProvider
    public function set tokenProvider(value:ITokenProvider):void
urlproperty 
url:String

The base URL to the Business Analyst Server HTTP Service.


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
createDefaultSymbolizationProvider()method
override protected function createDefaultSymbolizationProvider():TMSymbolizationProvider

Creates the default symbolization provider to be used together with this thematic layer.

The default symbolization provider is associated with a thematic layer if a user doesn't associate its own symbolization provider.

Returns
TMSymbolizationProvider — A new instance of the TMClassificationProvider class.

See also