osgEarth脚本属性案例 9. feature_labels_script.earth
来源:互联网 发布:网络虚拟礼物 编辑:程序博客网 时间:2024/05/18 02:37
osgEarth脚本属性案例 9. feature_labels_script.earth
1) 案例概述
用JavaScript脚本修改矢量标签属性案例。
2) 软件环境
osgEarth:官方代码库2017.11.09最新代码地址:www.github.com/gwaldron/osgearth
osgEarth编辑器:SXEarth2.8及以上,下载地址:www.sxsim.com
3) 硬件环境
本文编写和案例测试使用的硬件环境:CPU: i5四核,显卡:GTX660,内存:8GB。
(推荐使用英伟达显卡,intel显卡,会出现三维场景中文字显示不全的问题,笔记本双显卡,需要切换到独显。)
4) 编辑测试
addSomeExcitement函数,定义了新名称='***' +原名称+ '!!!',显示出来的名字增加了前缀***和后缀!!!。
阅读全文
1 0
- osgEarth脚本属性案例 9. feature_labels_script.earth
- osgEarth矢量属性过滤案例 40. feature_custom_filters.earth
- osgEarth高程配色案例 5. colorramp.earth
- osgEarth地形透明案例 6. fade_elevation.earth
- osgEarth颜色反转案例 13.glsl.earth
- osgEarth细节纹理案例 14.detail_texture.earth
- osgEarth地形压平案例 37. feature_elevation.earth
- osgEarth矢量裁剪案例 38. feature_clip_plane.earth
- osgEarth矢量加载案例 39. feature_country_boundaries.earth
- osgEarth shapefile矢量生成三维模型案例 2.boston.earth
- osgEarth波士顿城市建筑生成案例 3. boston_buildings.earth
- osgEarth矢量瓦片tfs生成建筑案例 4. boston_tfs.earth
- osgEarth MBTiles瓦片加载案例 21.mb_tiles.earth
- osgEarth 图层层级范围案例 22.min_max_level.earth
- osgEarth图层显示范围案例 23. min_max_range.earth
- osgEarth图层显示分辨率案例 24.min_max_resolutions.earth
- osgEarth无数据像素透明案例 25.nodata.earth
- osgEarth噪波着色混合案例 26.noise.earth
- 远程计算机或设备将不接受连接,IE无法上网
- Keepalived安装与配置
- JavaScript从入门到放弃(1)-基本操作:String,Object,Array,map,set
- Oracle01
- (备忘录)图表嵌入(1)
- osgEarth脚本属性案例 9. feature_labels_script.earth
- No such namespace prefix: soap12 is in scope on: org.dom4j.tree.DefaultElement
- jdbcTemplate查询返回对象或集合
- ios进行版本更新提示
- python---删除链表中的元素
- JVM内存解密【转】
- 算法学习之路:分治策略-归并排序-java实现
- php利用curl爬虫爬取微信公众号,防止ip封锁
- JAVA进阶之XML及AJAX