GeoScene 三维中点在模型中的位置设置
GeoScene Maps SDK for JavaScript中高程设置
GraphicsLayer中,通过设置高程控制点在场景中的位置。
elevationInfo属性设置:

创建图层时,设置图层高程类型:
// 添加画布图层
const graphicsLayer = new GraphicsLayer({
title: "targetLayer",
graphics: [],
elevationInfo: { mode: "relative-to-ground" },
});
参考:
[1]: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html#methods-summary

1175

被折叠的 条评论
为什么被折叠?



