WFS工具
调用方法:
var sgwfs = new SmartEarth.WFSTool(Viewer);
sgwfs.CreateWfs('point',{
urls:'http://183.162.245.49:82/SG/Streamer.ashx',
layer:'shenghuiming.399152',
text: '[name]',
color: '#de3',
disableDepthTestDistance:Infinity
})
参数描述:
名称 | 类型 | 描述 |
---|---|---|
Viewer |
Viewer | 地图视图 |
方法
参数描述:
名称 | 类型 | 描述 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
String | 类型【point|polyline|polygon】 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
option |
Object |
可选
参数
|
返回:
WfsLayer