管线Geosjon要素图层
属性
是否强制清楚缓存
方法
移除过期的瓦片
参数描述:
名称 | 类型 | 描述 |
---|---|---|
primitiveByTile |
Object | 瓦片 primitive,以 tileKey 索引 |
tileKeys |
Array.<String> | 当前有效的瓦片 keys |
序列化参数对象
参数描述:
名称 | 类型 | 描述 |
---|---|---|
params |
Object | 参数对象 |
返回:
序列化字符串
生成管状数据
参数描述:
名称 | 类型 | 描述 |
---|---|---|
radians |
Float |
创建VolumeGeoJsonFeatureLayer
参数描述:
名称 | 类型 | 描述 |
---|---|---|
name |
String | 可选 图层名称。 |
geojsonOrurl |
object | String | 可选 geojosn对象或者地址 |
option |
object | 可选 参数对象{ radius: 2, material: "#FFFFFF", show: true } |
disFnc |
function | 可选 回调函数 |
返回:
返回一个Cesium的datasource对象。
geojson管线矢量图层
参数描述:
名称 | 类型 | 描述 |
---|---|---|
name |
String | 可选 图层名称 |
geoOptions |
object | 可选 geojosn图层 url: 'http://192.168.1.40:8090/geoserver/gwc/service/wmts', layer:'nanjing', upperLevelLimit: 13, lowerLevelLimit: 13, minx:118.51721649800015, miny:31.863232407499936, maxx:118.91648798400001, maxy:32.27649160409993 |
styleOption |
object | 可选 图层样式 material: this._cesium.Color.WHITE, // optional A Property specifying the material used to draw the polyline. radius:3 |
GroupID |
Float | 可选 组itemID |
disFnc |
object | 可选 回调函数 update 张恒 20200520 |
geojson管线矢量图层
参数描述:
名称 | 类型 | 描述 |
---|---|---|
name |
String | 可选 图层名称 |
geoOptions |
object | 可选 geojosn图层 url: 'http://192.168.1.40:8090/geoserver/gwc/service/wmts', layer:'nanjing', upperLevelLimit: 13, lowerLevelLimit: 13, minx:118.51721649800015, miny:31.863232407499936, maxx:118.91648798400001, maxy:32.27649160409993 |
styleOption |
object | 可选 图层样式 material: this._cesium.Color.WHITE, // optional A Property specifying the material used to draw the polyline. radius:3 |
GroupID |
Float | 可选 组itemID |
disFnc |
object | 可选 回调函数 |
创建VolumeGeoJsonFeatureLayer
参数描述:
名称 | 类型 | 描述 |
---|---|---|
name |
String | 可选 图层名称。 |
geojsonOrurl |
object | String | 可选 geojosn对象或者地址 |
option |
object | 可选 参数对象{ height: 0,// optional A numeric Property specifying the altitude of the polygon relative to the ellipsoid surface. extrudedHeight: 0,// optional A numeric Property specifying the altitude of the polygon's extruded face relative to the ellipsoid surface. heightReference: this._cesium.HeightReference.NONE,// optional A Property specifying what the extrudedHeight is relative to. show: true,// optional A boolean Property specifying the visibility of the polygon. fill: true,// optional A boolean Property specifying whether the polygon is filled with the provided material. material: this._cesium.Color.WHITE,//optional A Property specifying the material used to fill the polygon. outline: false,//optional A boolean Property specifying whether the polygon is outlined. outlineColor: this._cesium.Color.BLACK,// optional A Property specifying the Color of the outline. outlineWidth: 1.0,//optional A numeric Property specifying the width of the outline. stRotation: 0.0,// optional A numeric property specifying the rotation of the polygon texture counter-clockwise from north. granularity: this._cesium.Math.RADIANS_PER_DEGREE,// optional A numeric Property specifying the angular distance between each latitude and longitude point. perPositionHeight: false, //optional A boolean specifying whether or not the the height of each position is used. closeTop: true, //optional When false, leaves off the top of an extruded polygon open. closeBottom: true,// optional When false, leaves off the bottom of an extruded polygon open. shadows: this._cesium.ShadowMode.DISABLED,// optional An enum Property specifying whether the polygon casts or receives shadows from each light source. near: 0, far: 5000 } |
disFnc |
function | 可选 回调函数 |
返回:
返回一个Cesium的datasource对象。
创建VolumeGeoJsonFeatureLayer
参数描述:
名称 | 类型 | 描述 |
---|---|---|
name |
String | 可选 图层名称。 |
geojsonOrurl |
object | String | 可选 geojosn对象或者地址 |
option |
object | 可选 参数对象{ height: 0,// optional A numeric Property specifying the altitude of the polygon relative to the ellipsoid surface. extrudedHeight: 0,// optional A numeric Property specifying the altitude of the polygon's extruded face relative to the ellipsoid surface. heightReference: this._cesium.HeightReference.NONE,// optional A Property specifying what the extrudedHeight is relative to. show: true,// optional A boolean Property specifying the visibility of the polygon. fill: true,// optional A boolean Property specifying whether the polygon is filled with the provided material. material: this._cesium.Color.WHITE,//optional A Property specifying the material used to fill the polygon. outline: false,//optional A boolean Property specifying whether the polygon is outlined. outlineColor: this._cesium.Color.BLACK,// optional A Property specifying the Color of the outline. outlineWidth: 1.0,//optional A numeric Property specifying the width of the outline. stRotation: 0.0,// optional A numeric property specifying the rotation of the polygon texture counter-clockwise from north. granularity: this._cesium.Math.RADIANS_PER_DEGREE,// optional A numeric Property specifying the angular distance between each latitude and longitude point. perPositionHeight: false, //optional A boolean specifying whether or not the the height of each position is used. closeTop: true, //optional When false, leaves off the top of an extruded polygon open. closeBottom: true,// optional When false, leaves off the bottom of an extruded polygon open. shadows: this._cesium.ShadowMode.DISABLED,// optional An enum Property specifying whether the polygon casts or receives shadows from each light source. near: 0, far: 5000 } |
disFnc |
function | 可选 回调函数 |
返回:
返回一个Cesium的datasource对象。
primivites加载wall数据矢量切片加载
参数描述:
名称 | 类型 | 描述 |
---|---|---|
name |
String | 可选 名称 |
geoOptions |
object | 可选 切片配置 example { url: 'http://192.168.1.40:8090/geoserver/gwc/service/wmts', layer: 'skyline:gouwu', upperLevelLimit: 16, lowerLevelLimit: 16, minx: 118.73577996, miny: 32.03315001, maxx: 118.801919985, maxy: 32.07363702 } |
styleOption |
Object | 可选 显示样式 { granularity: undefined, maximumHeights: 0, minimumHeights: 0, vertexFormat: undefined, material:'#ff0000' } |
GroupID |
Float | 可选 组编号 |
disFnc |
object | 可选 回调函数 |
primivites加载wall数据 全加载方式
参数描述:
名称 | 类型 | 描述 |
---|---|---|
name |
String | 可选 名称 |
geojsonOrurl |
String | object | 可选 数据服务地址或者是 |
option |
Object | 可选 显示样式 { granularity: undefined, maximumHeights: 0, minimumHeights: 0, vertexFormat: undefined, material:'#ff0000' } |
GroupID |
Float | 可选 组编号 |
删除数据
删除数据
编辑
参数描述:
名称 | 类型 | 描述 |
---|---|---|
open |
Boolean | 可选 是否开启编辑 |
option |
Object | 可选 参数 |
编辑
参数描述:
名称 | 类型 | 描述 |
---|---|---|
open |
Boolean | 可选 是否开启编辑 |
option |
Object | 可选 参数 |
导出工程数据
导出工程数据
设置数据是否刷新
设置数据是否刷新
返回图例
返回:
返回图例
返回:
是否强制清除缓存
参数描述:
名称 | 类型 | 描述 |
---|---|---|
b |
Boolean |