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:
|
Members
-
readonlycredit : Credit
-
Get the credit showing that the map service is active.
-
Get whether the image provided by the image service provider contains an alpha channel.
-
Get the layers included in the image provided by the image service provider.
-
The maximum level of data to be obtained.
-
The minimum level to obtain data.
-
Get the proxy used by the map service.
-
Get whether the map service provider is ready.Get whether the map service provider is ready.
-
Get the Promise object of the map service provider.
-
readonlyrectangle : Rectangle
-
Get the extent of the map.
-
Get the discard policy of the map tiles.
-
Get the slice height.
-
Get the slice width.
-
readonlytilingScheme : TilingScheme
-
Get the segmentation strategy used by the service provider.
-
Obtain the authentication information token of the map service.
-
Get the URL of the map service.
-
Get whether to use CGCS2000MapServerImageryProvider pre-cached tiles.
-
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 ofImageryLayerFeatureInfo
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.
-