JSTerrain
지도 내 지형 설정 및 제어하기 위한 API 입니다.
var map = Module.getTerrain();Properties
Name
Type
Description
Function
makeTerrainElevationCellData(option) → object
Name
Type
Description
let point = new Module.JSVec3Array();
point.push(new Module.JSVector3D(127.01969238371277, 37.56514815604788, 24.40620245039463));
point.push(new Module.JSVector3D(127.01962748647728, 37.56392380491751, 25.515124042518437));
point.push(new Module.JSVector3D(127.02194230953037, 37.56375530181643, 33.266184841282666));
point.push(new Module.JSVector3D(127.02220846619382, 37.56494396175599, 26.32035342976451));
let parameter = {
coordinates: {
style: "JSVector3D",
coordinate: point,
},
vertical: 10,
horizontal: 10,
};
let result = Module.getTerrain().makeTerrainElevationCellData(parameter);getServerAltitude(options, callback) → boolean
Name
Type
Description
Key
Type
Description
setImageMask(option) → bool
Name
Type
Description
Type Definitions
JSTerrain.GridOption
Name
Type
Attributes
Default
Description
JSTerrain.GridData
Name
Type
Description
JSTerrain.CellData
Name
Type
Description
JSTerrain.MaskingOptions
Name
Type
Description
Last updated