ConstructorOptions

Initialization options for the TileMapServiceImageryProvider constructor

See also

Properties

Link copied to clipboard
abstract val credit: Credit?

A credit for the data source, which is displayed on the canvas. Default value - ''

Link copied to clipboard
abstract val ellipsoid: Ellipsoid?

The ellipsoid. If the tilingScheme is specified, this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither parameter is specified, the WGS84 ellipsoid is used.

Link copied to clipboard
abstract val fileExtension: String?

The file extension for images on the server. Default value - 'png'

Link copied to clipboard
abstract val flipXY: Boolean?

Older versions of gdal2tiles.py flipped X and Y values in tilemapresource.xml.

Link copied to clipboard
abstract val maximumLevel: Int?

The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit.

Link copied to clipboard
abstract val minimumLevel: Int?

The minimum level-of-detail supported by the imagery provider. Take care when specifying this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely to result in rendering problems. Default value - 0

Link copied to clipboard
abstract val rectangle: Rectangle?

The rectangle, in radians, covered by the image. Default value - Rectangle.MAX_VALUE

Link copied to clipboard

A policy for discarding tile images according to some criteria Specifying this option will do the same, allowing for loading of these incorrect tilesets.

Link copied to clipboard
abstract val tileHeight: Int?

Pixel height of image tiles. Default value - 256

Link copied to clipboard
abstract val tileWidth: Int?

Pixel width of image tiles. Default value - 256

Link copied to clipboard
abstract val tilingScheme: TilingScheme?

The tiling scheme specifying how the ellipsoidal surface is broken into tiles. If this parameter is not provided, a WebMercatorTilingScheme is used.