CGCS2000MapServerImageryProvider

new Cesium.CGCS2000MapServerImageryProvider(options)

CGCS2000 map service image providing class. Used to overlay the ArcGIS EPSG4490 or 4326 static tile service. The reason for providing this category, This is because Cesium's native ArcGIS map service image provider class ArcGisMapServerImageryProvider does not support the loading of these two types of static tile services.
Name Type Description
options Object The object has the following properties:
Name Type Description
url String URL of the map service
token String Service token

Members

readonlycredit : Credit

Get the credit showing that the map service is active.

readonlyhasAlphaChannel : Boolean

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

readonlylayers : layer

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

readonlymaximumLevel : Number

The maximum level of data to be obtained.

readonlyminimumLevel : Number

The minimum level to obtain data.

readonlyproxy : Object

Get the proxy used by the map service.

readonlyready : Boolean

Get whether the map service provider is ready.Get 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

Get the discard policy of the map tiles.

readonlytileHeight : Number

Get the slice height.

readonlytileWidth : Number

Get the slice width.

readonlytilingScheme : TilingScheme

Get the segmentation strategy used by the service provider.

readonlytoken : String

Obtain the authentication information token of the map service.

readonlyurl : String

Get the URL of the map service.

readonlyusingPrecachedTiles : Boolean

Get whether to use CGCS2000MapServerImageryProvider pre-cached tiles.

readonlyzoomOffset : layer

Get the zoom offset of the image provided by the 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.