Found the solution for the text problem:
you need to set disableDepthTestDistance property in label entity to keep it always in front of terrain, like:
label: {
show: false,
showBackground: true,
font: "14px monospace",
horizontalOrigin: Cesium.HorizontalOrigin.LEFT,
verticalOrigin: Cesium.VerticalOrigin.TOP,
pixelOffset: new Cesium.Cartesian2(15, 0),
disableDepthTestDistance: Number.POSITIVE_INFINITY
}
I just added “disableDepthTestDistance: Number.POSITIVE_INFINITY,” to all entities, now they are ON the 3D tileset.
BUT THE MAIN PROBLEM STILL PERSISTS!!!
THE 3D TILES NEED TO BE CONNECTED WITH THE GROUND! SHARING THE SAME COORDINATES!
If not:
- coordinates are not exactly placed, because they are placed on the basemap UNDER the 3Dtileset, and are moving with camera movement when viewing from ON the 3D tileset.
- doubleclick on a point warps you under the earth, between 3D tiles and 2D basemap (workaround point height, but ends up on different heights on the 3D map of course)
- upcoming problem with moving entities (startpoints, waypoints, routes, etc.)