| Package | com.esri.ags.layers |
| Class | public class WMTSLayer |
| Inheritance | WMTSLayer TiledMapServiceLayer Layer mx.core.UIComponent |
| Since : | ArcGIS API for Flex 2.5 |
Tip: If the WMTS server doesn't have a crossdomain.xml file, you can use a proxy
| Property | Defined By | ||
|---|---|---|---|
| abstract : String
The abstract for the web map tile service. | WMTSLayer | ||
| copyright : String
The copyright of the web map tile service. | WMTSLayer | ||
![]() | 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 [override]
Full extent as defined by the web map tile service. | WMTSLayer | ||
| imageFormat : String
The output image format. | WMTSLayer | ||
| initialExtent : Extent [override]
Initial extent as defined by the web map tile service. | WMTSLayer | ||
![]() | 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 | |
| layerId : String
Gets or sets the layer to be displayed [optional]. | WMTSLayer | ||
![]() | 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 | |
| proxyURL : String
The URL to proxy the request through. | WMTSLayer | ||
| serviceMode : String
Gets or sets the WMTS service mode [optional]. | WMTSLayer | ||
| spatialReference : SpatialReference [override] [read-only]
The spatial reference of the web map tile service. | WMTSLayer | ||
![]() | tileInfo : TileInfo [read-only]
Contains information about the tiling scheme. | TiledMapServiceLayer | |
| tileMatrixSetId : String
Gets or sets the tile matrix set being used [optional]. | WMTSLayer | ||
| title : String
The title for the WMTS service. | WMTSLayer | ||
![]() | units : String [read-only]
The units of the layer. | Layer | |
| url : String
Gets or sets the URL to a web map tile service endpoint [required]. | WMTSLayer | ||
| version : String [read-only]
Returns 1.0.0
| WMTSLayer | ||
| Method | Defined By | ||
|---|---|---|---|
WMTSLayer(url:String = null, proxyURL:String = null)
Creates a new WMTSLayer object. | WMTSLayer | ||
![]() | refresh():void
Causes the layer to redraw or reload its content. | Layer | |
| abstract | property |
abstract:StringThe abstract for the web map tile service.
This property can be used as the source for data binding.
public function get abstract():String public function set abstract(value:String):void| copyright | property |
copyright:StringThe copyright of the web map tile service.
This property can be used as the source for data binding.
public function get copyright():String public function set copyright(value:String):void| fullExtent | property |
fullExtent:Extent[override] Full extent as defined by the web map tile service.
This property can be used as the source for data binding.
public function get fullExtent():Extent public function set fullExtent(value:Extent):void| imageFormat | property |
imageFormat:StringThe output image format.
This property can be used as the source for data binding.
public function get imageFormat():String public function set imageFormat(value:String):void| initialExtent | property |
initialExtent:Extent[override] Initial extent as defined by the web map tile service. Used by the map if it is the first layer in the map and map doesn't have an extent specified.
This property can be used as the source for data binding.
public function get initialExtent():Extent public function set initialExtent(value:Extent):void| layerId | property |
layerId:StringGets or sets the layer to be displayed [optional].
This property can be used as the source for data binding.
public function get layerId():String public function set layerId(value:String):void| proxyURL | property |
proxyURL:StringThe URL to proxy the request through.
This property can be used as the source for data binding.
public function get proxyURL():String public function set proxyURL(value:String):void| serviceMode | property |
serviceMode:StringGets or sets the WMTS service mode [optional]. If the specified mode does not match the service the WMTS layer will not be created. Allowed values are "KVP" or "RESTful".
The default value is "RESTful".
This property can be used as the source for data binding.
public function get serviceMode():String public function set serviceMode(value:String):void| spatialReference | property |
spatialReference:SpatialReference [read-only] [override] The spatial reference of the web map tile service.
This property can be used as the source for data binding.
public function get spatialReference():SpatialReference| tileMatrixSetId | property |
tileMatrixSetId:StringGets or sets the tile matrix set being used [optional].
This property can be used as the source for data binding.
public function get tileMatrixSetId():String public function set tileMatrixSetId(value:String):void| title | property |
title:StringThe title for the WMTS service.
This property can be used as the source for data binding.
public function get title():String public function set title(value:String):void| url | property |
url:StringGets or sets the URL to a web map tile service endpoint [required].
This property can be used as the source for data binding.
public function get url():String public function set url(value:String):void| version | property |
version:String [read-only] Returns 1.0.0
public function get version():String| WMTSLayer | () | Constructor |
public function WMTSLayer(url:String = null, proxyURL:String = null)Creates a new WMTSLayer object.
Parametersurl:String (default = null) — URL to the WMTS resource.
| |
proxyURL:String (default = null) — The URL to proxy the request through.
|