Class: SubSymbol

SubSymbol

子标号信息。

new SubSymbol(libID, code, options)

Usage
// 浏览器
<script type="text/javascript" src="../../web/libs/plotting/leaflet/11.3.0/iclient-plot-leaflet-es6.min.js"></script>
<script>
  new SuperMap.Plot.SubSymbol(libID, code, options);
  
  
</script>

// ES6 Import
import { SubSymbol } from '../../public/iclient-plot/iclient-plot-leaflet-es6.min.js';

new SubSymbol(libID, code, options);

common/plot/SubSymbol.js, line 3
Name Type Description
libID number

子标号的ID。

code number

子标号的code。

options Object

子标号参数。

Name Type Description
symbolData Object 可选

子标号数据。

textContent string 可选

子标号的注记, 仅支持BL部署对象设置该属性。

totalNum number 可选

子标号个数, 仅支持BL部署对象设置该属性。

Members

codenumber

标号的code。

libIDnumber

标号的库ID。

lineColorstring

子标号线色。

symbolDataObject

子标号数据。

textContentstring

子标号的注记。

totalNumnumber

子标号个数。

width2Dnumber

子标号线宽。

width3Dnumber

子标号线宽(3维)。

Methods

clone(){SubSymbol}

common/plot/SubSymbol.js, line 87

克隆子标号对象。

Returns:
Type Description
SubSymbol 克隆后的子标号对象。

destroy()

common/plot/SubSymbol.js, line 73

销毁图形对象数据。