|
看了一下从osgearth 1.2版以后就没有google读写插件了,发现从网络中获取不到数据了,貌似下面的链接过时了,请问
if ( _dataset == "satellite" )
{
if ( _version.empty() )
_version = "39";
char server = getRandomServer();
unsigned int tile_x, tile_y;
key.getTileXY( tile_x, tile_y );
int zoom = key.getLevelOfDetail();
buf << "http://khm" << server << ".google.com/kh"
<< "/v=" << _version
<< "&hl=" << _language
<< "&x=" << tile_x
<< "&y=" << tile_y
<< "&z=" << zoom;
}
return osgDB::readImageFile( buf.str(), getOptions() );
返回为空,请问各位大牛,新的链接参数为多少 |
|