Facade

new SuperMap3D.Facade()

Facade elevation drawing class, through this function, the elevation drawing of the specified range is output to the model in the scene.

Members

endPoint : Cartesian3

Get the endpoint.

farDistance : Number

Get or set the maximum distance of the elevation drawing range.

maxHeight : Number

Get or set the maximum height of the elevation plot.

readyPromise : Promise

An asynchronous object that parses out the base64 string of the elevation map (consistent with the usage of the scene map).
Example:
facade.readyPromise.then(function(base64) {
	 XXX // Convert the base64 string to an image for download or fill it into other elements
       });

startPoint : Cartesian3

Get a starting point.

Methods

build()

Incorporate the elevation analysis into the analysis layer for update

setBoundByPoints(startPoint, endPoint)

Set the start and end points of the specified line segment drawing
Name Type Description
startPoint Cartesian3 start position
endPoint Cartesian3 end position