SuperMapImageryProvider

new SuperMap3D.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 Image service address.
name String '' optional Imagery layer name.
minimumLevel Number 0 optional Minimum 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 Image service description information.
tileFormat String '' optional Image format, the default is png.
cacheKey String optional The 3D tile key for the imagery.
layersID String optional The imagery layer ID。
prjCoordSys String optional During dynamic map generation, you can use the specified projection coordinate system provided by the iServer dynamic mapping service.
Example:
//create provider。
var provider = new SuperMap3D.SuperMapImageryProvider({url : URL_CONFIG.ZF_IMG});
//create image layer
var layer = viewer.imageryLayers.addImageryProvider(provider);

Members

readonlycredit : Credit

Get the description information object of this image 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 when LOD scheduling).

packingRequest

Batch request encoding method.
See:

readonlyready : Boolean

Get whether the image service is ready.

readonlyreadyPromise : Promise

A promise to get the status of the request for this service.

readonlyrectangle : Rectangle

Gets the rectangular extent of this image service.

subdomains : String

Get or set the subdomain name. Through this interface, data can be requested from the specified subdomain.

readonlytileDiscardPolicy : DiscardColorTileImagePolicy

Get the color scale of discarded image tiles.

readonlytileFormat : Format

Get the request slice format.

readonlytileHeight : Number

Get slice height.

readonlytileWidth : Number

Get the slice width.

readonlytilingScheme : TilingScheme

Get the projection method (latitude-longitude projection and Mercator projection are supported).

readonlyurl : String

Get the url of the image service.

Methods

setLayerStatusParameters(v)*

Set filter criteria for map sublayers.
Name Type Description
v Array array of filter conditions
Returns:
Promise