CGCS2000MapServerImageryProvider

new SuperMap3D.CGCS2000MapServerImageryProvider(options)

CGCS2000 map service image provider class. EPSG4490 or 4326 static tile service used to overlay ArcGIS. This class is provided because Cesium's native ArcGIS map service image provider class ArcGisMapServerImageryProviderdoes not support the loading of these two types of static tile services.
Name Type Description
options Object Objects have the following properties:
Name Type Description
url String URL of the map service
token String service token

Members

readonlycredit : Credit

Get a credit showing that the map service is active.

readonlyhasAlphaChannel : Boolean

Gets whether the image provided by the image service provider contains an alpha channel.

readonlylayers : layer

Get the layers contained in the image provided by the image service provider.

readonlymaximumLevel : Number

Get the maximum level of data.

readonlyminimumLevel : Number

Get the minimum level of data.

readonlyproxy : Object

Get the proxy used by the map service.

readonlyready : Boolean

Gets whether the map service provider is ready.

readonlyreadyPromise : Promise

Get the Promise object of the map service provider.

readonlyrectangle : Rectangle

Get the extent of the map.

readonlytileDiscardPolicy : String

Gets the discarding policy for map tiles.

readonlytileHeight : Number

Get slice height.

readonlytileWidth : Number

Get the slice width.

readonlytilingScheme : TilingScheme

Get the segmentation strategy used by the service provider.

readonlytoken : String

Get the authentication information token of the map service.

readonlyurl : String

Get the URL of the map service.

readonlyusingPrecachedTiles : Boolean

Get whether to use the tiles pre-cached by CGCS2000MapServerImageryProvider.

readonlyzoomOffset : layer

Gets the zoom offset of the image provided by this image service provider.

Methods

getTileCredits(x, y, level)Array.<Credit>

Gets the credits to be displayed when a given tile is displayed.
Name Type Description
x Number The tile X coordinate.
y Number The tile Y coordinate.
level Number The tile level;
Returns:
The credits to be displayed when the tile is displayed.
Throws:
  • DeveloperError : getTileCredits must not be called before the imagery provider is ready.

pickFeatures(x, y, level, longitude, latitude)Promise.<Array.<ImageryLayerFeatureInfo>>|undefined

/** Asynchronously determines what features, if any, are located at a given longitude and latitude within a tile. This function should not be called before ImageryProvider#ready returns true.
Name Type Description
x Number The tile X coordinate.
y Number The tile Y coordinate.
level Number The tile level.
longitude Number The longitude at which to pick features.
latitude Number The latitude at which to pick features.
Returns:
A promise for the picked features that will resolve when the asynchronous picking completes. The resolved value is an array of ImageryLayerFeatureInfo instances. The array may be empty if no features are found at the given location.
Throws:
  • DeveloperError : pickFeatures must not be called before the imagery provider is ready.