Class: LineCallout3D

LineCallout3D

new LineCallout3D(options)

base/symbol/support/LineCallout3D.js, line 5

支持如下方法:
[1、通过json数据构造一个三维索引样式]
[2、导出为json数据]
[3、克隆对象]

注记索引线样式,该线会链接注记和所属要素,当一个符号相对于原始位置有偏移时,该符号能显示其真实位置

Name Type Description
options Object

构造参数

Name Type Description
border Object 可选

线的外边框样式,给是为{color: '外边线颜色'}

color Color 可选

线的颜色

color Number 可选

size

Extends

Members

borderObject

线的外边框样式

colorColor

线的颜色

extensionOptionsObject

符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数

Default Value:
{}

idString

符号id

maxWorldLengthNumber

最大世界长度

minWorldLengthNumber

最小世界长度

screenLengthNumber

屏幕偏移长度,单位像素

sizeNumber

线宽

typeString

类型

Methods

LineCallout3D.fromJSON(json){LineCallout3D}

base/symbol/support/LineCallout3D.js, line 56
Name Type Description
json Object

json数据

Returns:
Type Description
LineCallout3D 新的LineCallout3D对象

clone(){LineCallout3D}

base/symbol/support/LineCallout3D.js, line 83
Returns:
Type Description
LineCallout3D 克隆后的新符号对象

toJSON(){Object}

base/symbol/support/LineCallout3D.js, line 65
Returns:
Type Description
Object 导出的json数据