Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add elevation to the Cesium map scale bar view #1891

Open
robyngit opened this issue Oct 1, 2021 · 0 comments
Open

Add elevation to the Cesium map scale bar view #1891

robyngit opened this issue Oct 1, 2021 · 0 comments
Assignees
Labels
cesium enhancement pdg Permafrost Discovery Gateway portals Anything related to portals

Comments

@robyngit
Copy link
Member

robyngit commented Oct 1, 2021

The current version of the scale bar shows the lon and lat position of the mouse:

Screen Shot 2021-10-01 at 15 53 25

When there is terrain data loaded, it would be nice to also show an estimate of elevation. However, Cesium's built in function for getting elevation at a point (scene.globe.pick) has issues, see the discussion here: CesiumGS/cesium#4368

Terria.JS has a nice solution for this, but it required that they extend Cesium to add a pickTriangle function to globe.

@robyngit robyngit added enhancement portals Anything related to portals pdg Permafrost Discovery Gateway cesium labels Oct 1, 2021
@robyngit robyngit self-assigned this Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cesium enhancement pdg Permafrost Discovery Gateway portals Anything related to portals
Projects
None yet
Development

No branches or pull requests

1 participant