url |
String
|
|
The URL of the ArcGIS MapServer service. |
token |
String
|
|
optional
The ArcGIS token used to authenticate with the ArcGIS MapServer service. |
tileDiscardPolicy |
TileDiscardPolicy
|
|
optional
The policy that determines if a tile is invalid and should be discarded. If this value is not specified, a default DiscardMissingTileImagePolicy is used for tiled map servers, and a NeverTileDiscardPolicy is used for non-tiled map servers. In the former case, we request tile 0,0 at the maximum tile level and check pixels (0,0), (200,20), (20,200), (80,110), and (160, 130). If all of these pixels are transparent, the discard check is disabled and no tiles are discarded. If any of them have a non-transparent color, any tile that has the same values in these pixel locations is discarded. The end result of these defaults should be correct tile discarding for a standard ArcGIS Server. To ensure that no tiles are discarded, construct and pass a NeverTileDiscardPolicy for this parameter. |
proxy |
Proxy
|
|
optional
A proxy to use for requests. This object is expected to have a getURL function which returns the proxied URL, if needed. |
usePreCachedTilesIfAvailable |
Boolean
|
true
|
optional
If true, the server's pre-cached tiles are used if they are available. If false, any pre-cached tiles are ignored and the 'export' service is used. |
layers |
String
|
|
optional
A comma-separated list of the layers to show, or undefined if all layers should be shown. |
enablePickFeatures |
Boolean
|
true
|
optional
If true, ArcGisMapServerImageryProvider#pickFeatures will invoke the Identify service on the MapServer and return the features included in the response. If false, ArcGisMapServerImageryProvider#pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you don't want this provider's features to be pickable. Can be overridden by setting the ArcGisMapServerImageryProvider#enablePickFeatures property on the object. |
rectangle |
Rectangle
|
Rectangle.MAX_VALUE
|
optional
The rectangle of the layer. This parameter is ignored when accessing a tiled layer. |
tilingScheme |
TilingScheme
|
new GeographicTilingScheme()
|
optional
The tiling scheme to use to divide the world into tiles. This parameter is ignored when accessing a tiled server. |
ellipsoid |
Ellipsoid
|
|
optional
The ellipsoid. If the tilingScheme is specified and used, this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither parameter is specified, the WGS84 ellipsoid is used. |
tileWidth |
Number
|
256
|
optional
The width of each tile in pixels. This parameter is ignored when accessing a tiled server. |
tileHeight |
Number
|
256
|
optional
The height of each tile in pixels. This parameter is ignored when accessing a tiled server. |
maximumLevel |
Number
|
|
optional
The maximum tile level to request, or undefined if there is no maximum. This parameter is ignored when accessing a tiled server. |