Closed mulfvik closed 4 months ago
Hi @mulfvik, could you post a code snipped about what you did?
This was from around year 2021
import VectorLayer from 'ol/layer/Vector';
new VectorLayer({
altitudeMode: 'clampToGround'
})
Hello @mulfvik , this is still supported. I have checked the examples: https://openlayers.org/ol-cesium/examples/vectors.html it looks like still working. Please double check and reopen with reproduction steps if you still have the issue.
Hi, I used to be able to configure vector source to clampToGround in the OpenLayers library. This is not the case in newer version of OpenLayers so my points render below the terrain. If I remember correctly they used to clamp to the terrain surface. Also when using PointZ in PostGIS it doesnt use the altitude what it seems like.
Is this correct behavior and is there any solution for rendering points with altitude?