Constructor
(abstract) new BufferZone(options)
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | 具有以下属性的对象:
Properties
|
Throws:
-
进行缓冲区分析前,必须引入turf.js空间分析库!
- Type
- Cesium.DeveloperError
Members
(static, constant) KILOMETERS :String
千米,返回”kilometers“字符串。
Type:
- String
(static, constant) METERS :String
米,返回”meters“字符串。
Type:
- String
(static, constant) MILES :String
英里,返回”miles“字符串。
Type:
- String
bufferRadius :Number
- Default Value:
- 5.0
缓冲区半径
Type:
- Number
unit :String
- Default Value:
- BufferZone.KILOMETERS
缓冲区半径单位。
Type:
- String
Methods
calculateBufferZone()
计算并显示缓冲区
destroy()
销毁缓冲区实例对象。