JSSlope
API for analyzing the aspect and slope of terrain.
Returns the Module.getSlope API.
var Slope = Module.getSlope();
clearAnalysisData()
Resets the analysis data.
clearColorList() → boolean
Resets the registered legend color list.
Return
true : Reset successful.
false : Reset failed.
getColorArea(key, index) → number
Returns the area value for each legend index.
Name
Type
Description
key
string
Name of the object to analyze.
index
number
Legend index for which to return the area value.
Return
number(0 ~) : Success in returning the area corresponding to the legend (in square meters).
-1 : If the index is not valid or the object corresponding to the key cannot be found.
Last updated