Packagecom.esri.bao.tasks.thematicmapping
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
 InheritedcolorRamp : ColorRamp
Color Ramp to thematically shade this layer with.
TMLayer
  colorRampSchemas : Array
[static] [read-only] Predefined collection of Community Analyst color ramp schemas.
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
  initializeSummarizations : Boolean
Whether request summarization variables or not while initialization the query task associated with this layer.
ThematicMappingLayer
 InheritedintersectAnalysisExtentWithMapExtent : Boolean
Defines how to compose an extent to perform the query when analysis extent is specified.
TMLayer
 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
 InheritedmapExtentDrift : Number
Fraction of linear drift of map extent which is ignored in the auto-update mode.
TMLayer
  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
  summarizations : TMSummarizations
Summarization variables available for the current account.
ThematicMappingLayer
 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 Community Analyst 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 Community Analyst dataset.

The default value is null.


Implementation
    public function get activeDatasetID():String
    public function set activeDatasetID(value:String):void
colorRampSchemasproperty 
colorRampSchemas:Array  [read-only]

Predefined collection of Community Analyst color ramp schemas.


Implementation
    public static function get colorRampSchemas():Array
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
initializeSummarizationsproperty 
initializeSummarizations:Boolean

Whether request summarization variables or not while initialization the query task associated with this layer.

The default value is true.


Implementation
    public function get initializeSummarizations():Boolean
    public function set initializeSummarizations(value:Boolean):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
summarizationsproperty 
summarizations:TMSummarizations

Summarization variables available for the current account.

Bu default, summarization variables are populated when the query task of this layer is initialized. You can avoid requesting summarization variables while initialization either assigning the false value to the initializeSummarizations property or assigning a custom collection of summarization variables to this property.


Implementation
    public function get summarizations():TMSummarizations
    public function set summarizations(value:TMSummarizations):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 Community Analyst 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