|
发表于 2014-4-15 21:40:18
|
显示全部楼层
看osgearth论坛里维护人员gwaldron说把map里的一些接口都删掉了,相关功能再GeoPoint里可以找到,原话是:
A couple small API changes coming your way. These server to streamline the API and remove some redundancy.
The following Map methods will be removed since their functionality is now more completely served by the GeoPoint API:
Map::toMapPoint
Map::toWorldPoint
Map::mapPointToWorldPoint
The corresponding methods in MapInfo will also go away as well.
Secondly, the Terrain getHeight methods will be simplified to contain only:
Terrain::getHeight(srs, x, y, hamsl, hae)
Terrain::getHeight(patch, srs, x, y, hamsl, hae)
..thus removing the variants that do not take an SRS, and moving the "patch" parameter to the front to avoid ambiguous parameter issues.
Enjoy.
|
|