new SuperMap.BufferSetting(options)
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The optional parameters.
|
Members
-
endTypeSuperMap.BufferEndType
-
The buffer endpoint enumeration value. It consists flat and round two types, namely, the SuperMap.REST.BufferEndType.FLAT.
- Default Value: SuperMap.BufferEndType.FLAT
leftDistanceSuperMap.BufferDistance
The buffer distance on the left side. When it's GeometryBufferAnalyst, the unit is the same with the coordinate system of the default map(e.g., 3857 is meter, 4326 is degree); when it's DatasetBufferAnalyst, the unit is set by BufferSetting.radiusUnit ( the default is meter).
- Default Value: 100
radiusUnitSuperMap.BufferRadiusUnit
Buffer radius unit, can be SuperMap.BufferRadiusUnit.METER、SuperMap.BufferRadiusUnit.MILIMETER、 SuperMap.BufferRadiusUnit.CENTIMETER、SuperMap.BufferRadiusUnit.DECIMETER、SuperMap.BufferRadiusUnit.KILOMETER、 SuperMap.BufferRadiusUnit.FOOT、SuperMap.BufferRadiusUnit.INCH、SuperMap.BufferRadiusUnit.MILE、SuperMap.BufferRadiusUnit.YARD. Only valid for BufferAnalyst.
- Default Value: SuperMap.BufferRadiusUnit.METER
rightDistanceSuperMap.BufferDistance
The buffer distance on the left side. When it's GeometryBufferAnalyst, the unit is the same with the coordinate system of the default map(e.g., 3857 is meter, 4326 is degree); when it's DatasetBufferAnalyst, the unit is set by BufferSetting.radiusUnit ( the default is meter).
- Default Value: 100
semicircleLineSegmentnumber
The number of arc segment of the Round, that is, with how many arc segments to simulate a semicircle.
- Default Value: 4
Methods
-
destroy()
BufferSetting.js, line 65 -
Disposes the resource. The property that references resource is set to null.