geosolution/math~EleWallModel(options)

地理解决方案数学模型,电子墙模型。

Summary

Methods:
addMathCell

添加电子墙EleWall对象

removeMathCellById

根据该数学模型组成元素的唯一标识符,将对应的元素从数学模型中移除

Constructor

new EleWallModel(options)

电子墙模型EleWallModel的构造函数。

Parameters:
Name Type Description
options Object

可选项

Name Type Description
depthTest Boolean

是否开启深度测试,默认为false

depthWrite Boolean

深度是否写入,默认为true。设置成false时,可以改善透明情况下,电子墙本身的遮挡问题,但是电子墙无法与后绘制的要素保持正确的前后关系。

Example
const eleWallModel=new hmap.geosolution.math.EleWallModel();

Methods

addMathCell(mathCell)

添加电子墙EleWall对象

Parameters:
Name Type Description
mathCell module:geosolution/cell~EleWall

电子墙对象

removeMathCellById(id)

根据该数学模型组成元素的唯一标识符,将对应的元素从数学模型中移除

Parameters:
Name Type Description
id String

组成元素的唯一标识符