JSTerrain
API for terrain settings and control functions.
Creates the Module.getTerrain API.
var map = Module.getTerrain();
Function
makeTerrainElevationCellData(option) → object
Generates and returns Grid Cell data based on input vertex coordinates.
Returns information after creating GRID data with an argument variable.
Return
.result : API success status ( 1 : success, 0 : failure ).
.name : Name of the operation API.
.return : API return information ( JSTerrain.GridData : Normal return value, string : Failure error code ).
Type Definitions
JSTerrain.GridOption
Basic Grid setting options.
option
List of latitude and longitude coordinates for the analysis area, coordinate list type setting.
vertical
number
optional
5
Length of the Cell composing the Grid vertically (in meters).
horizontal
number
optional
5
Length of the Cell composing the Grid horizontally (in meters).
JSTerrain.GridData
Grid return information.
vertical
number
Length of the Cell composing the Grid vertically (in meters).
verticalCount
number
Number of Cells composing the Grid vertically.
horizontal
number
Length of the Cell composing the Grid horizontally (in meters).
horizontalCount
number
Number of Cells composing the Grid horizontally.
JSTerrain.CellData
Data information of the Cell composing the Grid.
type
boolean
Inclusion status of the analysis area.
elevation
number
Elevation of the cell center latitude and longitude coordinates.
Last updated