new DetectionRange(radius, style, 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.DetectionRange(radius, style, options);
</script>
// ES6 Import
import { DetectionRange } from '../../public/iclient-plot/iclient-plot-leaflet-es6.min.js';
new DetectionRange(radius, style, options);
common/plot/DetectionRange.js, line 5
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
radius |
number |
半径。 |
|||||||||
style |
DetectionRangeStyle |
探测范围的样式。 |
|||||||||
options |
Object |
自定义探测范围参数。
|
Members
-
pixelRadiusnumber
-
探测范围半径,当前参数决定探测范围为像素圆,单位为度。
-
pointsArray.<SuperMap.Geometry.Point>
-
不规则探测范围点串。
-
radiusnumber
-
探测范围半径,当前参数决定探测范围为地理圆,单位为米。
-
radiusnumber
-
探测类型。
-
styleDetectionRangeStyle
-
探测范围风格。
Methods
-
clone(){DetectionRange}
common/plot/DetectionRange.js, line 79 -
克隆探测范围对象。
Returns:
Type Description DetectionRange 克隆后的探测范围对象。 -
destroy()
common/plot/DetectionRange.js, line 67 -
销毁探测范围数据。
-
parseSymbolData(){DetectionRange}
common/plot/DetectionRange.js, line 144 -
解析探测范围数据。
Returns:
Type Description DetectionRange 解析探测范围数据。 -
setSymbolData(){Object}
common/plot/DetectionRange.js, line 98 -
设置探测范围数据。
Returns:
Type Description Object 设置探测范围数据。