| Package | com.esri.ags.virtualearth |
| Class | public class VETiledLayer |
| Inheritance | VETiledLayer TiledMapServiceLayer Layer mx.core.UIComponent |
| Implements | com.esri.ags.virtualearth.IVETiledLayer |
| Since : | ArcGIS API for Flex 1.2 |
Note: Bing Maps tiles and geocoding were added in version 1.2.
See also
| Property | Defined By | ||
|---|---|---|---|
| culture : String
The culture - provides localized strings in the language of the culture for map labels on the Bing Maps tiles. | VETiledLayer | ||
![]() | displayLevels : Array
Levels to display in layer, based on LOD.level. | TiledMapServiceLayer | |
![]() | fadeInFrameCount : uint
The number of frames it will take for the tiles to fade in. | TiledMapServiceLayer | |
![]() | fullExtent : Extent [read-only]
The full extent of the layer. | TiledMapServiceLayer | |
![]() | initialExtent : Extent [read-only]
Initial extent of the layer. | Layer | |
![]() | isInScaleRange : Boolean [read-only]
Returns true if the current scale of the map is between the maximum and minimum scale of the layer [added in version 1.3]. | Layer | |
| key : String
The Bing Maps Key. | VETiledLayer | ||
![]() | loaded : Boolean [read-only]
When the layer is loaded, the value becomes "true" and layer properties can be accessed. | Layer | |
![]() | loadFault : Fault [read-only]
A reference to the fault that is dispatched when the layer throws a loadError event. | Layer | |
![]() | map : Map [read-only]
A reference to the Map this layer is in. | Layer | |
| mapStyle : String
The map style can be set to "road" (default), "aerial" or "aerialWithLabels". | VETiledLayer | ||
![]() | maxScale : Number
The maximum scale of the layer [added in version 1.3]. | Layer | |
![]() | minScale : Number
The minimum scale of the layer [added in version 1.3]. | Layer | |
| spatialReference : SpatialReference [override] [read-only]
Returns a SpatialReference with a wkid value of 102100. | VETiledLayer | ||
![]() | tileInfo : TileInfo [read-only]
Contains information about the tiling scheme. | TiledMapServiceLayer | |
| units : String [override] [read-only]
Returns Units.METERS
| VETiledLayer | ||
| Method | Defined By | ||
|---|---|---|---|
VETiledLayer(culture:String = en-US, mapStyle:String = road)
Creates a new VETiledLayer object. | VETiledLayer | ||
![]() | refresh():void
Causes the layer to redraw or reload its content. | Layer | |
| Constant | Defined By | ||
|---|---|---|---|
| MAP_STYLE_AERIAL : String = aerial [static]
Bing Maps Aerial is the aerial imagery map style. | VETiledLayer | ||
| MAP_STYLE_AERIAL_WITH_LABELS : String = aerialWithLabels [static]
Bing Maps Aerial with Labels is the aerial imagery map style with a road overlay. | VETiledLayer | ||
| MAP_STYLE_ROAD : String = road [static]
Bing Maps Roads is the road map style. | VETiledLayer | ||
| culture | property |
culture:StringThe culture - provides localized strings in the language of the culture for map labels on the Bing Maps tiles.
The default value is en-US.
This property can be used as the source for data binding.
public function get culture():String public function set culture(value:String):voidSee also
| key | property |
key:StringThe Bing Maps Key.
This property can be used as the source for data binding.
public function get key():String public function set key(value:String):voidSee also
| mapStyle | property |
mapStyle:StringThe map style can be set to "road" (default), "aerial" or "aerialWithLabels".
The default value is road.
This property can be used as the source for data binding.
public function get mapStyle():String public function set mapStyle(value:String):void| spatialReference | property |
spatialReference:SpatialReference [read-only] [override] Returns a SpatialReference with a wkid value of 102100.
public function get spatialReference():SpatialReference| units | property |
units:String [read-only] [override] Returns Units.METERS
public function get units():String| VETiledLayer | () | Constructor |
public function VETiledLayer(culture:String = en-US, mapStyle:String = road)Creates a new VETiledLayer object.
Parametersculture:String (default = en-US) — The language of the culture for the map labels.
| |
mapStyle:String (default = road) — The Bing Map style.
|
| MAP_STYLE_AERIAL | Constant |
public static const MAP_STYLE_AERIAL:String = aerialBing Maps Aerial is the aerial imagery map style.
| MAP_STYLE_AERIAL_WITH_LABELS | Constant |
public static const MAP_STYLE_AERIAL_WITH_LABELS:String = aerialWithLabelsBing Maps Aerial with Labels is the aerial imagery map style with a road overlay.
| MAP_STYLE_ROAD | Constant |
public static const MAP_STYLE_ROAD:String = roadBing Maps Roads is the road map style.
<esri:Map>
<esri:VETiledLayer
key="_thiscouldbeyourkey_Al0VE-H1tC0tk-eRubZv_EmyM6WZGqAsTyKS8G-WwCGK3"
mapStyle="road"
/>
</esri:Map>var veTiledLayer:VETiledLayer = new VETiledLayer(); veTiledLayer.key = "_thiscouldbeyourkey_Al0VE-H1tC0tk-eRubZv_EmyM6WZGqAsTyKS8G-WwCGK3"; veTiledLayer.mapStyle = VETiledLayer.MAP_STYLE_ROAD; myMap.addLayer(veTiledLayer);