在Worldwind Android中使用Bing Imagery
如何在Worldwind Android中使用bing图像?
这是正确的方法吗?
WmsLayerConfig config = new WmsLayerConfig();
config.serviceAddress = "http://www.microsoft.com/maps/assets/docs/terms.aspx/";
答案 0 :(得分:0)
NASA为Bing托管WMS服务。试试这个:
//Bing hybrid
String serviceAddress = "https://worldwind27.arc.nasa.gov/wms/virtualearth?request=getcapabilities&service=WMS";
WmsLayerConfig config = new WmsLayerConfig();
config.serviceAddress = serviceAddress;
config.wmsVersion = "1.3.0";
config.layerNames = "ve-h"; //ve-h for hybrid, ve-r for street
WmsLayer wmsLayer = new WmsLayer(new Sector().setFullSphere(), 1, config);
wwd.getLayers().addLayer(wmsLayer);