var boundingSphere = new Cesium.BoundingSphere(Cesium.Cartesian3.fromDegrees(116.4, 39.9, 100), 15000); // Override behavior of home button viewer.homeButton.viewModel.command.beforeExecute.addEventListener(function(commandInfo) { // Fly to c…
1.简单描述Viewer Viewer类是cesium的核心类,是地图可视化展示的主窗口,cesium程序应用的切入口,扮演必不可少的核心角色. 官网的英文解析如下: A base widget for building applications. It composites all of the standard Cesium widgets into one reusable package. The widget can always be extended by using mixins…