加载三维球
var viewer = new Cesium.Viewer("cesiumContainer", {
shouldAnimate: true,
});
1.将地球定位到中国
Cesium.Camera.DEFAULT_VIEW_RECTANGLE = Cesium.Rectangle.fromDegrees(73.0, 3.0, 135.0, 53.0);
viewer.camera.flyHome(5);
2.加载中国边界geojson图层
viewer.dataSources.add(Cesium.GeoJsonDataSource.load('./中国.geojson', {
stroke: Cesium.Color.HOTPINK,
fill: Cesium.Color.PINK.withAlpha(0.1),
strokeWidth: 1
}));