SuperMapImageryProvider

new Cesium.SuperMapImageryProvider(options)

Provide image slices through SuperMap iServer REST API.
Name Type Description
options Object The parameter object contains the following properties:
Name Type Default Description
url String Imagery service address.
name String '' optional The name of the imagery layer.
minimumLevel Number 0 optional The smallest level.
maximumLevel Number 20 optional Maximum level.
transparent boolean true optional Set whether the parameter of the requested map service is transparent.
credit String 'MapQuest, SuperMap iServer Imagery' optional Imagery service description information.
tileFormat String '' optional Imagery format, default is png.
cacheKey String optional The 3D cache key of the imagery.
Example:
//Create a provider.
var provider = new Cesium.SuperMapImageryProvider({url : URL_CONFIG.ZF_IMG});
//Create an imagery layer.
var layer = viewer.imageryLayers.addImageryProvider(provider);

Members

readonlycredit : Credit

Get the description information object of the imagery service.

readonlymaximumLevel : Number

Get the maximum level (the maximum level that can be requested during LOD scheduling).

readonlyminimumLevel : Number

Get the minimum level (the minimum level that can be requested during LOD scheduling).

packingRequest

Encoding method for batch requests.
See:

readonlyready : Boolean

Get whether the image service is ready.

readonlyreadyPromise : Promise

A promise to get the request status of the service.

readonlyrectangle : Rectangle

Get the rectangular range of the image service.

subdomains : String

Get or set the subdomain name. Through this interface, you can request data from the specified subdomain.

readonlytileDiscardPolicy : DiscardColorTileImagePolicy

Get the color ratio of discarded imagery slices.

readonlytileFormat : Format

Get the requested slice format.

readonlytileHeight : Number

Get the slice height.

readonlytileWidth : Number

Get the slice width.

readonlytilingScheme : TilingScheme

Get the projection method (supports latitude and longitude projection and Mercator projection).

readonlyurl : String

Get the url of the imagery service.

Methods

setLayerStatusParameters(v)*

Set the filter condition of the map sublayer.
Name Type Description
v Array Array of filter conditions
Returns:
Promise