DrawBaiMoFun() {
import("./data/chaoyangbaimo1.json").then((res) => {
res.features.forEach((feature) => {
// console.log(feature);
feature.geometry.coordinates.forEach((coordinate) => {
viewer.entities.add({
id: feature.properties.gml_id,
wall: {
positions: Cesium.Cartesian3.fromDegreesArray(
coordinate.flat()
),
minimumHeights: new Array(coordinate.length).fill(0),
maximumHeights: new Array(coordinate.length).fill(
feature.properties.height * 3
),
material: new Cesium.Color(1.0, 1.0, 1.0, 1),
material: new Cesium.ImageMaterialProperty({
image: require("
Cesium渲染白膜数据2
最新推荐文章于 2024-05-06 14:16:34 发布