ConstructorOptions

Initialization options for the ArcGisMapServerImageryProvider constructor

See also

Properties

Link copied to clipboard
abstract var credit: Credit?

A credit for the data source, which is displayed on the canvas. This parameter is ignored when accessing a tiled server.

Link copied to clipboard
abstract var ellipsoid: Ellipsoid?

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 default ellipsoid is used. Default value - Ellipsoid.default

Link copied to clipboard

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. Default value - true

Link copied to clipboard
abstract var layers: String?

A comma-separated list of the layers to show, or undefined if all layers should be shown.

Link copied to clipboard
abstract var maximumLevel: Int?

The maximum tile level to request, or undefined if there is no maximum. This parameter is ignored when accessing a tiled server.

Link copied to clipboard
abstract var rectangle: Rectangle?

The rectangle of the layer. This parameter is ignored when accessing a tiled layer. Default value - Rectangle.MAX_VALUE

Link copied to clipboard

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.

Link copied to clipboard
abstract var tileHeight: Int?

The height of each tile in pixels. This parameter is ignored when accessing a tiled server. Default value - 256

Link copied to clipboard
abstract var tileWidth: Int?

The width of each tile in pixels. This parameter is ignored when accessing a tiled server. Default value - 256

Link copied to clipboard
abstract var tilingScheme: TilingScheme?

The tiling scheme to use to divide the world into tiles. This parameter is ignored when accessing a tiled server. Default value - GeographicTilingScheme()

Link copied to clipboard

If true, the server's pre-cached tiles are used if they are available. Exporting Tiles is only supported with deprecated APIs. Default value - true