-
geoserver.war下载
资源介绍
安装方法和geoserver安装在tomcat上面一模一样,首先把war包放在tomcat的webapp下面。然后直接运行tomcat。在worldwind加载的js文件里面加上
//Add WMS imagery
var serviceAddress="http://localhost:8080/geoserver/nasa/wms/wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0";
var layerName = "world_topo_bathy_lowres";
var createLayer = function (xmlDom) {
var wms = new WorldWind.WmsCapabilities(xmlDom);
var wmsLayerCapabilities = wms.getNamedLayer(layerName);
var wmsConfig = WorldWind.WmsLayer.formLayerConfiguration(wmsLayerCapabilities);
var wmsLayer = new WorldWind.WmsLayer(wmsConfig);
wwd.addLayer(wmsLayer);
就可以加载本地离线worldwindWeb服务了
- 上一篇: 检验单元格颜色
- 下一篇: 安居客网址结合大数据分析房价可视化分析.zip