geosolution/math~ScatterModel(options)

地理解决方案数学模型,散点图模型。点效果,具备旋转不变性。显示不使用深度(或高程)信息,叠加层次与添加或者绘制顺序有关。

Summary

Methods:
addMathCell

添加散点元素

Constructor

new ScatterModel(options)

散点模型的构造函数。

Parameters:
Name Type Description
options Object
Name Type Description
sideNum Number

组成散点模型的"BubbleCircle"和"BreathCircle"对应的边数。大于2时有效,小于等于2或不提供时使用默认值,默认值4。

depthTest Boolean

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

Example
let scatterModel=new hmap.geosolution.math.ScatterModel({
     sideNum:10
});

Methods

addMathCell(mathCell)

添加散点元素

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

散点元素