原文链接及内容
ArcGisBaseMapType.SATELLITE
效果如下:

ArcGisBaseMapType.HILLSHADE
效果如下:

ArcGisBaseMapType.OCEANS
效果如下:

示例代码如下:
1 2 3 4 5 6 7 8 9
| <style> @import url(../templates/bucket.css); .cesium-performanceDisplay-defaultContainer { top: 10px; } </style> <div id="cesiumContainer" class="fullSize"></div> <div id="loadingOverlay"><h1>数据加载中...</h1></div> <div id="toolbar"></div>
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
const viewer = new Cesium.Viewer("cesiumContainer", { baseLayer: Cesium.ImageryLayer.fromProviderAsync( Cesium.ArcGisMapServerImageryProvider.fromBasemapType(
Cesium.ArcGisBaseMapType.SATELLITE ) ), geocoder: false, sceneModePicker: false, homeButton: false, navigationHelpButton: false, baseLayerPicker: false, navigationInstructionsInitiallyVisible: false, animation: false, timeline: false, fullscreenButton: false, selectionIndicator: false, skyBox: false, shouldAnimate: true, });
viewer.cesiumWidget.creditContainer.style.display = "none"; viewer.scene.debugShowFramesPerSecond = true;
|