new ThemeGraphSize(options)
Usage
import { ThemeGraphSize } from '@supermapgis/iclient-leaflet';
new ThemeGraphSize(options);<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
new L.supermap.ThemeGraphSize({paramsNames});
// 弃用的写法
new SuperMap.ThemeGraphSize(options);
</script>
common/iServer/ThemeGraphSize.js, line 6
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
参数。
|
API Relations
Returned by:
ThemeGraphSize.fromObj.
Members
-
maxGraphSizenumber
-
获取或设置统计专题图中显示的最大图表尺寸基准值,单位为像素。
-
minGraphSizenumber
-
获取或设置统计专题图中显示的最小图表尺寸基准值,单位为像素。
Methods
-
static fromObj(obj){ThemeGraphSize}
common/iServer/ThemeGraphSize.js, line 48 -
从传入对象获统计专题图符号尺寸类。
Name Type Description objObject 传入对象。
Returns:
Type Description ThemeGraphSize ThemeGraphSize 对象。 -
destroy()
common/iServer/ThemeGraphSize.js, line 38 -
释放资源,将引用资源的属性置空。