shuishen
2021-06-10 dcb285ccc145fcbcb1302ca61c051b497df815a2
jimu.js/MapManager.js
@@ -136,7 +136,12 @@
                            layer = new Cesium.WebMapTileServiceImageryProvider(layerConfig);
                        } else if (layerConfig.type == "SuperMap") {
                            layer = new Cesium.SuperMapImageryProvider(layerConfig);
                        } else if (layerConfig.type == "arcgis") {
                            layer = new Cesium.ArcGisMapServerImageryProvider(layerConfig);
                        }
                        
                        layerArr.push(layer);
                    }
@@ -166,8 +171,7 @@
                            ellipsoid: Cesium.Ellipsoid.WGS84
                        })
                    }
                })
                , new Cesium.ProviderViewModel({
                }), new Cesium.ProviderViewModel({
                    name: "鄱阳湖地形",
                    tooltip: "由 普适科技 提供的鄱阳湖地区地形",
                    iconUrl: "images/basemaps/TerrainSTK.png",
@@ -279,7 +283,9 @@
                    var roll = mapOptions.positionInfo.roll;
                    setTimeout(lang.hitch(this, function () {
                        this.map.camera.setView({destination: Cesium.Rectangle.fromDegrees(west, south, east, north)});
                        this.map.camera.setView({
                            destination: Cesium.Rectangle.fromDegrees(west, south, east, north)
                        });
                    }), 100);