text stringlengths 0 8.81k |
|---|
ArcGisMapServerImageryProvider |
new Cesium.ArcGisMapServerImageryProvider(options) |
engine/Source/Scene/ArcGisMapServerImageryProvider.js 302 |
This object is normally not instantiated directly, use ArcGisMapServerImageryProvider.fromBasemapType or ArcGisMapServerImageryProvider.fromUrl. |
Provides tiled imagery hosted by an ArcGIS MapServer. By default, the server's pre-cached tiles are |
used, if available. |
An ArcGIS Access Token is required to authenticate requests to an ArcGIS Image Tile service. |
To access secure ArcGIS resources, it's required to create an ArcGIS developer |
account or an ArcGIS online account, then implement an authentication method to obtain an access token. |
Name |
Type |
Description |
options |
ArcGisMapServerImageryProvider.ConstructorOptions |
optional |
Object describing initialization options |
Examples: |
// Set the default access token for accessing ArcGIS Image Tile service |
Cesium.ArcGisMapService.defaultAccessToken = "<ArcGIS Access Token>"; |
// Add a base layer from a default ArcGIS basemap |
const viewer = new Cesium.Viewer("cesiumContainer", { |
baseLayer: Cesium.ImageryLayer.fromProviderAsync( |
Cesium.ArcGisMapServerImageryProvider.fromBasemapType( |
Cesium.ArcGisBaseMapType.SATELLITE |
) |
), |
}); |
// Create an imagery provider from the url directly |
const esri = await Cesium.ArcGisMapServerImageryProvider.fromUrl( |
"https://ibasemaps-api.arcgis.com/arcgis/rest/services/World_Imagery/MapServer", { |
token: "<ArcGIS Access Token>" |
}); |
See: |
ArcGisMapServerImageryProvider.fromBasemapType |
ArcGisMapServerImageryProvider.fromUrl |
ArcGIS Server REST API |
ArcGIS Access Token |
Members |
readonly credit : Credit |
engine/Source/Scene/ArcGisMapServerImageryProvider.js 648 |
Gets the credit to display when this imagery provider is active. Typically this is used to credit |
the source of the imagery. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.