Class: TRAnlaysisTool

TRAnlaysisTool(option, tileset)

退让分析包装类,使用classifyprimitive实现

Constructor

new TRAnlaysisTool(option, tileset)

this.xgtool = new TRAnlaysisTool(); this.xgtool.Polygon=this.geojson; 设置多边形范围 this.xgtool.Buildings = pmap.rowstoGeojson(dt.data.data,{}); 设置建筑底面 this.xgtool.TRDistance= this.value1; 设置退让距离 this.xgtool.clear();
Parameters:
Name Type Description
option *
tileset *
Source:

Classes

TRAnlaysisTool

Members

Polygon

传入一个feature,GeoJSON对象
Source:

TRDistance

设置退让的长度,这里就需要不断修改
Source:

Methods

clear()

清除Cesium对象
Source:

destory()

释放和清理相关资源
Source: