osgEarth加载二维地图
生活随笔
收集整理的這篇文章主要介紹了
osgEarth加载二维地图
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一、原理
首先設置地圖為二維模式
<map name="ArcGIS Online" type="projected" version="2">
然后在options里面設置投影方式為Equirectangular projection(ERP)
<profile>eqc-wgs84</profile>
參考博客
二、地圖代碼
clear_2D.earth
<!--設置二維模式--> <map name="ArcGIS Online" type="projected" version="2"><image name="arcgis-world-imagery" driver="arcgis"><url>http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/</url><nodata_image>http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/100/0/0.jpeg</nodata_image><cache_policy usage="re
總結
以上是生活随笔為你收集整理的osgEarth加载二维地图的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 妈妈帮上云之路:云上平台架构与运维实践
- 下一篇: 计算机组成与设计第五版课后答案ch04,