Appearance
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?
optionalparameters:any
Additional parameters to pass to the WMS server in the GetMap URL.
getFeatureInfoParameters?
optionalgetFeatureInfoParameters:any
Additional parameters to pass to the WMS server in the GetFeatureInfo URL.
enablePickFeatures?
optionalenablePickFeatures: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?
optionalgetFeatureInfoFormats:GetFeatureInfoFormat[]
The formats in which to try WMS GetFeatureInfo requests.
rectangle?
optionalrectangle:Rectangle
The rectangle of the layer.
tilingScheme?
optionaltilingScheme:TilingScheme
The tiling scheme to use to divide the world into tiles.
ellipsoid?
optionalellipsoid: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?
optionaltileWidth:number
The width of each tile in pixels.
tileHeight?
optionaltileHeight:number
The height of each tile in pixels.
minimumLevel?
optionalminimumLevel: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?
optionalmaximumLevel: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?
optionalcrs:string
CRS specification, for use with WMS specification >= 1.3.0.
srs?
optionalsrs:string
SRS specification, for use with WMS specification 1.1.0 or 1.1.1
credit?
optionalcredit:string|Credit
A credit for the data source, which is displayed on the canvas.
subdomains?
optionalsubdomains: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?
optionalclock:Clock
A Clock instance that is used when determining the value for the time dimension. Required when times is specified.
times?
optionaltimes:TimeIntervalCollection
TimeIntervalCollection with its data property being an object containing time dynamic dimension and their values.
getFeatureInfoUrl?
optionalgetFeatureInfoUrl:string|Resource
The getFeatureInfo URL of the WMS service. If the property is not defined then we use the property value of url.
