Provide image slices,through SuperMap iServer REST API。
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameter object contains the following properties:
|
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.
-
Get the maximum level (the maximum level that can be requested during LOD scheduling).
-
Get the minimum level (the minimum level that can be requested when LOD scheduling).
-
Batch request encoding method.
See:
-
Get whether the image service is ready.
-
A promise to get the status of the request for this service.
-
readonlyrectangle : Rectangle
-
Gets the rectangular extent of this image service.
-
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.
-
Get the request slice format.
-
Get slice height.
-
Get the slice width.
-
readonlytilingScheme : TilingScheme
-
Get the projection method (latitude-longitude projection and Mercator projection are supported).
-
Set attribute conditions to filter and display the map (REST map service published in a workspace format). This feature is supported in the following iServer versions: V12: supermap-iserver-12.0.0.0-250819-8153-124153-windows-x64-deploy and later V11: supermap-iserver-11.3.0-250820-8054-124153-windows-x64-deploy and later For other versions, please use setLayerStatusParameters instead.
Name Type Description filters
Object Attribute Filtering Conditions. Example:
var imageryProvider = new SuperMap3D.SuperMapImageryProvider({ url : ‘http://localhost:8090/iserver/services/datas/China’ }); var imageryLayer = new SuperMap3D.ImageryLayer(imageryProvider); imageryProvider.setDisplayFilters({ "CountryLabel@worldtest":"SmID==39" });
-
Set filter criteria for map sublayers.
Name Type Description v
Array array of filter conditions Returns:
Promise