|
我配置osgearth2.8之后,写了一段加载地图的代码
osgEarth:rivers::TMSOptions _tms0;
_tms0.url()="E:\\osg-hongsong\\world-tiff-satelite\\tms.xml";
osgEarth::Drivers::ImageLayerOptions _imglayer0("SATELITE", _tms0);
osgEarth::ImageLayer *_layer0 = new osgEarth::ImageLayer(_imglayer0);
_map->addImageLayer(_layer0);
运行到_map->addImageLayer(_layer0);后 提示我cannot create writer:writing disabled
这是为什么,是因为我配置不对么?
|
|