首页 / 浏览问题 / 三维GIS / 问题详情
超图FAQ:【WebGL】怎么在前端实现闪烁点?
64,468EXP 2023年07月26日
【WebGL】怎么在前端实现闪烁点?

1个回答

【解决方法】 viewer.entities.add({ name:"圆点point闪烁", position:Cesium.Cartesian3.fromDegrees(lon+0.03,lat+0.03,0), point : { show : true, // default color :new Cesium.CallbackProperty(function () { if(flog){ x=x-0.05; if(x<=0){ flog=false; } }else{ x=x+0.05; if(x>=1){ flog=true; } } return Cesium.Color.RED.withAlpha(x); },false), pixelSize : 10, // default: 1 outlineWidth :0 } });
64,468EXP 2023年07月26日
热门文章
关注我们
...