new LabelSymbolCell(options)
Usage
import { LabelSymbolCell } from '@supermapgis/iclient-leaflet';
new LabelSymbolCell(options);<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
new L.supermap.LabelSymbolCell({paramsNames});
// 弃用的写法
new SuperMap.LabelSymbolCell(options);
</script>
common/iServer/LabelSymbolCell.js, line 8
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
参数。
|
API Relations
As constructor parameter:
ThemeLabel.
Extends
LabelSymbolCell
-> LabelMatrixCell
Members
-
styleServerStyle
-
获取或设置符号样式——
ServerStyle对象,包括符号大小(ServerStyle#markerSize) 和符号旋转(ServerStyle#markerAngle)角度,其中用于设置符号 ID 的属性(ServerStyle#markerSymbolID)在此处不起作用。 -
symbolIDFieldstring
-
获取或设置符号 ID 或符号 ID 所对应的字段名称。
-
typestring
-
设置矩阵标签元素的类型,在制作矩阵标签元素时必须指定元素类型。
Methods
-
destroy()
common/iServer/LabelSymbolCell.js, line 55 -
释放资源,将引用资源的属性置空。