You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use both markers or billboards with Google's Photorealistic 3D Tiles makes all entities appear under the surface of the tiles.
Adjusting z height doesn't work, while old fixes like CLAMP_TO_GROUND error out because we have the globe disabled.
Using other fixes, like .clampToHeightMostDetailed or .clampToHeight also do not work, and still put the point under the surface.
The only one that seemed to work was using scene.pickPosition(movement.position), which in context, made a marker wherever I clicked from the example code, and this always seemed to be on top of the terrain. However, I can't simulate the same movement.position for all the dynamically generated markers I wish to put on the terrain on load.
Is there some fix to this? I've seen Google's implementation using CesiumJS on their demo page, which seems to have markers on top of the terrain correctly. However, as with all things Google, their code is heavily obfuscated.
The text was updated successfully, but these errors were encountered:
However, I agree that we're lacking the cohesive ability to clamp to 3D Tiles as terrain, such as the use case with Google's Photorealistic 3D Tiles, throughout all of the API.
Any luck with Scene.sampleHeight? I would suggest using scene.pickPosition or that as a workaround in the meantime.
Trying to use both markers or billboards with Google's Photorealistic 3D Tiles makes all entities appear under the surface of the tiles.
Adjusting z height doesn't work, while old fixes like CLAMP_TO_GROUND error out because we have the globe disabled.
Using other fixes, like .clampToHeightMostDetailed or .clampToHeight also do not work, and still put the point under the surface.
The only one that seemed to work was using scene.pickPosition(movement.position), which in context, made a marker wherever I clicked from the example code, and this always seemed to be on top of the terrain. However, I can't simulate the same movement.position for all the dynamically generated markers I wish to put on the terrain on load.
Is there some fix to this? I've seen Google's implementation using CesiumJS on their demo page, which seems to have markers on top of the terrain correctly. However, as with all things Google, their code is heavily obfuscated.
The text was updated successfully, but these errors were encountered: