| Package | com.esri.ags.layers |
| Class | public class OpenStreetMapLayer |
| Inheritance | OpenStreetMapLayer TiledMapServiceLayer Layer mx.core.UIComponent |
| Since : | ArcGIS API for Flex 2.1 |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | 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 | |
![]() | 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 | |
![]() | 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. | OpenStreetMapLayer | ||
![]() | tileInfo : TileInfo [read-only]
Contains information about the tiling scheme. | TiledMapServiceLayer | |
| tileServers : Array
List of URL endpoints to load from. | OpenStreetMapLayer | ||
| units : String [override] [read-only]
Returns Units.METERS
| OpenStreetMapLayer | ||
| spatialReference | property |
spatialReference:SpatialReference [read-only] [override] Returns a SpatialReference with a wkid value of 102100.
public function get spatialReference():SpatialReference| tileServers | property |
tileServers:ArrayList of URL endpoints to load from. Default is "http://a.tile.openstreetmap.org/", "http://b.tile.openstreetmap.org/" and "http://c.tile.openstreetmap.org/".
public function get tileServers():Array public function set tileServers(value:Array):void
<esri:OpenStreetMapLayer>
<esri:tileServers>
<fx:String>http://a.tah.openstreetmap.org/Tiles/tile/</fx:String>
<fx:String>http://b.tah.openstreetmap.org/Tiles/tile/</fx:String>
<fx:String>http://c.tah.openstreetmap.org/Tiles/tile/</fx:String>
</esri:tileServers>
</esri:OpenStreetMapLayer>| units | property |
units:String [read-only] [override] Returns Units.METERS
public function get units():String