Skip to content

KBE3D / KBCore / Cesium / WebMapTileServiceImageryProvider / ConstructorOptions

接口: ConstructorOptions

Initialization options for the WebMapTileServiceImageryProvider constructor

属性

url

url: string | Resource

The base URL for the WMTS GetTile operation (for KVP-encoded requests) or the tile-URL template (for RESTful requests). The tile-URL template should contain the following variables: {style}, {TileMatrixSet}, {TileMatrix}, {TileRow}, {TileCol}. The first two are optional if actual values are hardcoded or not required by the server. The {s} keyword may be used to specify subdomains.


layer

layer: string

The layer name for WMTS requests.


style

style: string

The style name for WMTS requests.


tileMatrixSetID

tileMatrixSetID: string

The identifier of the TileMatrixSet to use for WMTS requests.


format?

optional format: string

The MIME type for images to retrieve from the server.


tileMatrixLabels?

optional tileMatrixLabels: any[]

A list of identifiers in the TileMatrix to use for WMTS requests, one per TileMatrix level.


clock?

optional clock: Clock

A Clock instance that is used when determining the value for the time dimension. Required when times is specified.


times?

optional times: TimeIntervalCollection

TimeIntervalCollection with its <code>data</code> property being an object containing time dynamic dimension and their values.


dimensions?

optional dimensions: any

A object containing static dimensions and their values.


tileWidth?

optional tileWidth: number

The tile width in pixels.


tileHeight?

optional tileHeight: number

The tile height in pixels.


tilingScheme?

optional tilingScheme: TilingScheme

The tiling scheme corresponding to the organization of the tiles in the TileMatrixSet.


rectangle?

optional rectangle: Rectangle

The rectangle covered by the layer.


minimumLevel?

optional minimumLevel: number

The minimum level-of-detail supported by the imagery provider.


maximumLevel?

optional maximumLevel: number

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


ellipsoid?

optional ellipsoid: Ellipsoid

The ellipsoid. If not specified, the WGS84 ellipsoid is used.


credit?

optional credit: string | Credit

A credit for the data source, which is displayed on the canvas.


subdomains?

optional subdomains: string | string[]

The subdomains to use for the <code>{s}</code> placeholder in the URL template. If this parameter is a single string, each character in the string is a subdomain. If it is an array, each element in the array is a subdomain.

KBE3D @3.0.0 Copyright © 2024-present KBE3D