DotPlotStyle

new Cesium.DotPlotStyle()

点标号样式

Methods

clone()DotPlotStyle

克隆
Returns:
克隆对象

fromJson(dotPlotStyleJson)

从json字符串初始化
Name Type Description
dotPlotStyleJson String json字符串

getGeoGraphicObjectStyle(geoGraphicObject)

获取点标号样式
Name Type Description
geoGraphicObject SymbolDot 点标号对象

getLineSymbolID()Number

获取点标号边线样式
Returns:
边线样式

getLineWidth()Number

获取点标号边线宽度
Returns:
边线宽度

getSurroundLineWidth()Number

获取点标号衬线宽度
Returns:
衬线宽度

getSymbolRank()Number

获取点标号等级
Returns:
点标号等级

getSymbolRanks()Array.<Number>

获取点标号等级列表
Returns:
点标号等级列表

getSymbolStyle()SymbolStyle

获取点标号样式
Returns:
点标号样式

getSymbolTextStyle()SymbolTextStyle

获取文本风格
Returns:
文本风格

getTextContent()Stirng

获取注记内容
Returns:
注记内容

getTextPosition()Number

获取文本位置
Returns:
文本位置

isNegativeImage()boolean

获取是否镜像
Returns:
是否镜像

setGeoGraphicObjectStyle(geoGraphicObject)

设置点标号样式
Name Type Description
geoGraphicObject SymbolDot 点标号对象

setLineSymbolID(lineSymbolID)

设置点标号边线样式
Name Type Description
lineSymbolID Number 边线样式

setLineWidth(lineWidth)

设置点标号边线宽度
Name Type Description
lineWidth Number 边线宽度

setNegativeImage(isNegativeImage)

设置是否镜像
Name Type Description
isNegativeImage boolean 是否镜像

setSurroundLineWidth(surroundLineWidth)

设置点标号衬线宽度
Name Type Description
surroundLineWidth Number 衬线宽度

setSymbolRank(symbolRank)

设置点标号等级
Name Type Description
symbolRank Number 点标号等级

setSymbolStyle(symbolStyle)

设置点标号样式
Name Type Description
symbolStyle SymbolStyle 点标号样式

setSymbolTextStyle(symbolTextStyle)

设置文本风格
Name Type Description
symbolTextStyle SymbolTextStyle 文本风格

setTextContent(textContent)

设置注记内容
Name Type Description
textContent Stirng 注记内容

setTextPosition(pos)

设置文本位置
Name Type Description
pos Number 文本位置

toJson()String

转换成json字符串
Returns:
json字符串