Skip to content

KBE3D / KBCore / Cesium / WebMapServiceImageryProvider / ConstructorOptions

接口: ConstructorOptions

Initialization options for the WebMapServiceImageryProvider constructor

属性

url

url: string | Resource

The URL of the WMS service. The URL supports the same keywords as the UrlTemplateImageryProvider.


layers

layers: string

The layers to include, separated by commas.


parameters?

optional parameters: any

Additional parameters to pass to the WMS server in the GetMap URL.


getFeatureInfoParameters?

optional getFeatureInfoParameters: any

Additional parameters to pass to the WMS server in the GetFeatureInfo URL.


enablePickFeatures?

optional enablePickFeatures: boolean

If true, WebMapServiceImageryProvider#pickFeatures will invoke the GetFeatureInfo operation on the WMS server and return the features included in the response. If false, WebMapServiceImageryProvider#pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you know your WMS server does not support GetFeatureInfo or if you don't want this provider's features to be pickable. Note that this can be dynamically overridden by modifying the WebMapServiceImageryProvider#enablePickFeatures property.


getFeatureInfoFormats?

optional getFeatureInfoFormats: GetFeatureInfoFormat[]

The formats in which to try WMS GetFeatureInfo requests.


rectangle?

optional rectangle: Rectangle

The rectangle of the layer.


tilingScheme?

optional tilingScheme: TilingScheme

The tiling scheme to use to divide the world into tiles.


ellipsoid?

optional 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.


tileWidth?

optional tileWidth: number

The width of each tile in pixels.


tileHeight?

optional tileHeight: number

The height of each tile in pixels.


minimumLevel?

optional minimumLevel: number

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.


maximumLevel?

optional maximumLevel: number

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


crs?

optional crs: string

CRS specification, for use with WMS specification >= 1.3.0.


srs?

optional srs: string

SRS specification, for use with WMS specification 1.1.0 or 1.1.1


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.


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 data property being an object containing time dynamic dimension and their values.


getFeatureInfoUrl?

optional getFeatureInfoUrl: string | Resource

The getFeatureInfo URL of the WMS service. If the property is not defined then we use the property value of url.

KBE3D @3.0.0 Copyright © 2024-present KBE3D