iTelluroLayerBil

iTelluroBIL影像图层

new YS.iTelluroLayerBil(options, global)

iTelluro.Server提供服务的Bil格式影像图层
Name Type Description
options Object 对象有下面这些属性:
Name Type Default Description
id String optional 唯一标识
name String optional 名称
rectangle Rectangle optional 范围{west, south, east, north}
category String optional 图层分组
url String iTelluro.Server服务地址,如http://itelluroyun.infoearth.com:8038/iTelluro.Server/Service/GIS/gis.ashx
dsKey String iTelluro.Server数据服务的key
colorRange String [] optional 高度颜色插值数组
zeroSpan Number 36.0 optional 0级切片跨度
levels Number 总级数
isAddTree Boolean true optional 是否在图层树上显示
treeIcon String optional 图层树上显示的图标,默认不显示
isQuery Boolean false optional 是否支持空间查询
visible Boolean true optional 是否可见
shpField Boolean true optional 是否自定义空间查询主字段
global Object 三维球对象(YouScene.earth)
Implements:

Members

dsKey : String

iTelluro.Server数据服务的key
Implements:

levels : Number

总级数
Implements:

zeroSpan : Number

0级切片跨度
Implements:

Methods

staticYS.iTelluroLayerBil.fromiTelluroServer(config, earth)iTelluroLayerBil

从网图server的配置字符串中构建iTelluroLayerBil
Name Type Description
config String 从网图server或iTelluro.GlobeEngine.ini中获取到的配置字符串
earth YSEarth youscene.earth
Returns:
返回新构建的图层
Throws:
  • 如果config传入的即非key-value,也非value串,抛出异常VT.INVALID_ARGUMENTS
  • 配置字符串最少要有15个参数