Package | com.esri.bacore.thematicmapping |
Class | public class GeographyLevelInfo |
Inheritance | GeographyLevelInfo Object |
Property | Defined By | ||
---|---|---|---|
aliasName : String
Geography level long alias name. | GeographyLevelInfo | ||
layersCount : int [read-only]
The number of geography layers of this level. | GeographyLevelInfo | ||
name : String [read-only]
Geography level short name. | GeographyLevelInfo |
Method | Defined By | ||
---|---|---|---|
GeographyLevelInfo(name:String, aliasName:String, layers:Array)
Creates a new instance of the GeographyLevelInfo class. | GeographyLevelInfo | ||
getLayerByIndex(index:int):IGeographyLayerInfo
Gets geography layer by index. | GeographyLevelInfo | ||
isAvailable(mapScale:Number):Boolean
Tests the geography level to be shown for the given map scale. | GeographyLevelInfo | ||
selectBestLayer(scale:Number):IGeographyLayerInfo
Selects a layer whose scale best matches to the given scale parameter value. | GeographyLevelInfo | ||
toString():String
Returns this geography level string representation for GUI controls. | GeographyLevelInfo |
aliasName | property |
aliasName:String
Geography level long alias name.
public function get aliasName():String
public function set aliasName(value:String):void
layersCount | property |
layersCount:int
[read-only] The number of geography layers of this level.
public function get layersCount():int
name | property |
name:String
[read-only] Geography level short name.
public function get name():String
GeographyLevelInfo | () | Constructor |
public function GeographyLevelInfo(name:String, aliasName:String, layers:Array)
Creates a new instance of the GeographyLevelInfo class.
Parametersname:String | |
aliasName:String | |
layers:Array |
getLayerByIndex | () | method |
public function getLayerByIndex(index:int):IGeographyLayerInfo
Gets geography layer by index.
Parameters
index:int — Zero-based index of layer.
|
IGeographyLayerInfo — Required geography layer.
|
isAvailable | () | method |
public function isAvailable(mapScale:Number):Boolean
Tests the geography level to be shown for the given map scale.
Parameters
mapScale:Number — Required map scale.
|
Boolean — true if this geography level is available for the given map scale.
|
selectBestLayer | () | method |
public function selectBestLayer(scale:Number):IGeographyLayerInfo
Selects a layer whose scale best matches to the given scale
parameter value.
Parameters
scale:Number — A required scaling.
|
IGeographyLayerInfo — The best matching layer or null.
|
toString | () | method |
public function toString():String
Returns this geography level string representation for GUI controls.
ReturnsString — Alias name value.
|