Class: GeometryBufferAnalystParameters

SuperMap.GeometryBufferAnalystParameters

The GeometryBufferAnalystParameters class is a buffer analysis performed on specified geometric objects.

new SuperMap.GeometryBufferAnalystParameters(options)

GeometryBufferAnalystParameters.js, line 6
Name Type Description
options Object

The parameters.

Name Type Description
sourceGeometry Object

The geometry object for buffer analysis.

bufferSetting SuperMap.BufferSetting optional

Sets the general buffer parameters.

Extends

Members

bufferSettingSuperMap.BufferSetting

Sets the general buffer parameter. Provides the necessary parameters information for buffer analysis, including the left buffer distance, right buffer distance, endpoint types, number of arc segment of the round.

sourceGeometryObject

The geometry object for buffer analysis.
The point type could be SuperMap.Geometry.Point|L.Point|L.GeoJSON|ol.geom.Point|ol.format.GeoJSON.
The line type could be SuperMap.Geometry.LineString|SuperMap.Geometry.LinearRing|L.Polyline|L.GeoJSON|ol.geom.LineString|ol.format.GeoJSON.
The line Polygon could be SuperMap.Geometry.Polygon|L.Polygon|L.GeoJSON|ol.geom.Polygon|ol.format.GeoJSON.

sourceGeometrySRIDnumber

Projection coordinate parameters of the geometry object for buffer analysis. For instance: 4426, 3857.

Methods

SuperMap.GeometryBufferAnalystParameters.toObject(geometryBufferAnalystParameters, tempObj){Object}

GeometryBufferAnalystParameters.js, line 54

Transform the GeometryBufferAnalystParameters to JSON

Name Type Description
geometryBufferAnalystParameters SuperMap.GeometryBufferAnalystParameters

The GeometryBufferAnalystParameters class.

tempObj SuperMap.GeometryBufferAnalystParameters

The GeometryBufferAnalystParameters.

Returns:
Type Description
Object The JSON object.

inherited destroy()

BufferAnalystParameters.js, line 27

Disposes the resource. The property that references resource is set to null.

inherited destroy()

BufferAnalystParameters.js, line 27

Disposes the resource. The property that references resource is set to null.