|
本帖最后由 bin1203 于 2013-10-15 10:24 编辑
中文显示乱码。。请教大家 应该如何解决。。
我是在osgearth_annotation.cpp中尝试进行的修改。
labelGroup->addChild( new PlaceNode(mapNode, GeoPoint(geoSRS, 139.75, 35.68), "东京" , pin));
labelGroup->addChild( new PlaceNode(mapNode, GeoPoint(geoSRS, -90.25, 29.98), "New Orleans" , pin));
labelGroup->addChild( new PlaceNode(mapNode, GeoPoint(geoSRS, -80.28, 25.82), "Miami" , pin));
labelGroup->addChild( new PlaceNode(mapNode, GeoPoint(geoSRS,-117.17, 32.72), "San Diego" , pin));
labelGroup->addChild( new PlaceNode(mapNode, GeoPoint(geoSRS, -100.10, 40.60), "U.S.A" , flag));
labelGroup->addChild( new PlaceNode(mapNode, GeoPoint(geoSRS, 106.20, 30.40), "China" , flag1)); |
|